SettingsParameterDescription Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.models.SettingsParameterDescription

Implements

public final class SettingsParameterDescription
implements JsonSerializable<SettingsParameterDescription>

Describes a parameter in fabric settings of the cluster.

Constructor Summary

Constructor Description
SettingsParameterDescription()

Creates an instance of SettingsParameterDescription class.

Method Summary

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

Reads an instance of SettingsParameterDescription from the JsonReader.

String name()

Get the name property: The parameter name of fabric setting.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String value()

Get the value property: The parameter value of fabric setting.

SettingsParameterDescription withName(String name)

Set the name property: The parameter name of fabric setting.

SettingsParameterDescription withValue(String value)

Set the value property: The parameter value of fabric setting.

Methods inherited from java.lang.Object

Constructor Details

SettingsParameterDescription

public SettingsParameterDescription()

Creates an instance of SettingsParameterDescription class.

Method Details

fromJson

public static SettingsParameterDescription fromJson(JsonReader jsonReader)

Reads an instance of SettingsParameterDescription from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SettingsParameterDescription 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.

name

public String name()

Get the name property: The parameter name of fabric setting.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public String value()

Get the value property: The parameter value of fabric setting.

Returns:

the value value.

withName

public SettingsParameterDescription withName(String name)

Set the name property: The parameter name of fabric setting.

Parameters:

name - the name value to set.

Returns:

the SettingsParameterDescription object itself.

withValue

public SettingsParameterDescription withValue(String value)

Set the value property: The parameter value of fabric setting.

Parameters:

value - the value value to set.

Returns:

the SettingsParameterDescription object itself.

Applies to