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


AllowedEnvironmentTypeProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.fluent.models.AllowedEnvironmentTypeProperties

Implements

public final class AllowedEnvironmentTypeProperties
implements JsonSerializable<AllowedEnvironmentTypeProperties>

Properties of an allowed environment type.

Constructor Summary

Constructor Description
AllowedEnvironmentTypeProperties()

Creates an instance of AllowedEnvironmentTypeProperties class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: The display name of the allowed environment type.

static AllowedEnvironmentTypeProperties fromJson(JsonReader jsonReader)

Reads an instance of AllowedEnvironmentTypeProperties from the JsonReader.

ProvisioningState provisioningState()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AllowedEnvironmentTypeProperties

public AllowedEnvironmentTypeProperties()

Creates an instance of AllowedEnvironmentTypeProperties class.

Method Details

displayName

public String displayName()

Get the displayName property: The display name of the allowed environment type.

Returns:

the displayName value.

fromJson

public static AllowedEnvironmentTypeProperties fromJson(JsonReader jsonReader)

Reads an instance of AllowedEnvironmentTypeProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to