ConfigurationInner Class

public final class ConfigurationInner
extends ProxyResource

Represents a Configuration.

Constructor Summary

Constructor Description
ConfigurationInner()

Creates an instance of ConfigurationInner class.

Method Summary

Modifier and Type Method and Description
String allowedValues()

Get the allowedValues property: Allowed values of the configuration.

String dataType()

Get the dataType property: Data type of the configuration.

String defaultValue()

Get the defaultValue property: Default value of the configuration.

String description()

Get the description property: Description of the configuration.

static ConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationInner 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.

String source()

Get the source property: Source of the configuration.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String value()

Get the value property: Value of the configuration.

ConfigurationInner withSource(String source)

Set the source property: Source of the configuration.

ConfigurationInner withValue(String value)

Set the value property: Value of the configuration.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ConfigurationInner

public ConfigurationInner()

Creates an instance of ConfigurationInner class.

Method Details

allowedValues

public String allowedValues()

Get the allowedValues property: Allowed values of the configuration.

Returns:

the allowedValues value.

dataType

public String dataType()

Get the dataType property: Data type of the configuration.

Returns:

the dataType value.

defaultValue

public String defaultValue()

Get the defaultValue property: Default value of the configuration.

Returns:

the defaultValue value.

description

public String description()

Get the description property: Description of the configuration.

Returns:

the description value.

fromJson

public static ConfigurationInner fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConfigurationInner 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:

ConfigurationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ConfigurationInner.name()

Returns:

the name value.

source

public String source()

Get the source property: Source of the configuration.

Returns:

the source value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ConfigurationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ConfigurationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: Value of the configuration.

Returns:

the value value.

withSource

public ConfigurationInner withSource(String source)

Set the source property: Source of the configuration.

Parameters:

source - the source value to set.

Returns:

the ConfigurationInner object itself.

withValue

public ConfigurationInner withValue(String value)

Set the value property: Value of the configuration.

Parameters:

value - the value value to set.

Returns:

the ConfigurationInner object itself.

Applies to