Поделиться через


EnvironmentTypeProperties Class

public final class EnvironmentTypeProperties
extends EnvironmentTypeUpdateProperties

Properties of an environment type.

Constructor Summary

Constructor Description
EnvironmentTypeProperties()

Creates an instance of EnvironmentTypeProperties class.

Method Summary

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

Reads an instance of EnvironmentTypeProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EnvironmentTypeProperties withDisplayName(String displayName)

Set the displayName property: The display name of the environment type.

Methods inherited from EnvironmentTypeUpdateProperties

Methods inherited from java.lang.Object

Constructor Details

EnvironmentTypeProperties

public EnvironmentTypeProperties()

Creates an instance of EnvironmentTypeProperties class.

Method Details

fromJson

public static EnvironmentTypeProperties fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentTypeProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

EnvironmentTypeProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

EnvironmentTypeProperties.validate()

withDisplayName

public EnvironmentTypeProperties withDisplayName(String displayName)

Set the displayName property: The display name of the environment type.

Overrides:

EnvironmentTypeProperties.withDisplayName(String displayName)

Parameters:

displayName

Applies to