Partilhar via


SupportedStackResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.SupportedStackResourceProperties

Implements

public final class SupportedStackResourceProperties
implements JsonSerializable<SupportedStackResourceProperties>

Supported stack resource properties.

Constructor Summary

Constructor Description
SupportedStackResourceProperties()

Creates an instance of SupportedStackResourceProperties class.

Method Summary

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

Reads an instance of SupportedStackResourceProperties from the JsonReader.

String stackId()

Get the stackId property: The id of supported stack.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: The version of supported stack.

SupportedStackResourceProperties withStackId(String stackId)

Set the stackId property: The id of supported stack.

SupportedStackResourceProperties withVersion(String version)

Set the version property: The version of supported stack.

Methods inherited from java.lang.Object

Constructor Details

SupportedStackResourceProperties

public SupportedStackResourceProperties()

Creates an instance of SupportedStackResourceProperties class.

Method Details

fromJson

public static SupportedStackResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of SupportedStackResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the SupportedStackResourceProperties.

stackId

public String stackId()

Get the stackId property: The id of supported stack.

Returns:

the stackId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The version of supported stack.

Returns:

the version value.

withStackId

public SupportedStackResourceProperties withStackId(String stackId)

Set the stackId property: The id of supported stack.

Parameters:

stackId - the stackId value to set.

Returns:

the SupportedStackResourceProperties object itself.

withVersion

public SupportedStackResourceProperties withVersion(String version)

Set the version property: The version of supported stack.

Parameters:

version - the version value to set.

Returns:

the SupportedStackResourceProperties object itself.

Applies to