BatchConfigurationInner Class

public final class BatchConfigurationInner
extends Resource

The batch configuration resource definition.

Constructor Summary

Constructor Description
BatchConfigurationInner()

Creates an instance of BatchConfigurationInner class.

Method Summary

Modifier and Type Method and Description
static BatchConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of BatchConfigurationInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

BatchConfigurationProperties properties()

Get the properties property: The batch configuration properties.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

BatchConfigurationInner withLocation(String location)
BatchConfigurationInner withProperties(BatchConfigurationProperties properties)

Set the properties property: The batch configuration properties.

BatchConfigurationInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

BatchConfigurationInner

public BatchConfigurationInner()

Creates an instance of BatchConfigurationInner class.

Method Details

fromJson

public static BatchConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of BatchConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchConfigurationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

BatchConfigurationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BatchConfigurationInner.name()

Returns:

the name value.

properties

public BatchConfigurationProperties properties()

Get the properties property: The batch configuration properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BatchConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BatchConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withLocation

public BatchConfigurationInner withLocation(String location)

Overrides:

BatchConfigurationInner.withLocation(String location)

Parameters:

location

withProperties

public BatchConfigurationInner withProperties(BatchConfigurationProperties properties)

Set the properties property: The batch configuration properties.

Parameters:

properties - the properties value to set.

Returns:

the BatchConfigurationInner object itself.

withTags

public BatchConfigurationInner withTags(Map<String,String> tags)

Overrides:

BatchConfigurationInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to