Share via


EnvironmentTypeUpdateProperties Class

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

Implements

public class EnvironmentTypeUpdateProperties
implements JsonSerializable<EnvironmentTypeUpdateProperties>

Properties of an environment type. These properties can be updated after the resource has been created.

Constructor Summary

Constructor Description
EnvironmentTypeUpdateProperties()

Creates an instance of EnvironmentTypeUpdateProperties class.

Method Summary

Modifier and Type Method and Description
String displayName()

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

static EnvironmentTypeUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentTypeUpdateProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EnvironmentTypeUpdateProperties withDisplayName(String displayName)

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

Methods inherited from java.lang.Object

Constructor Details

EnvironmentTypeUpdateProperties

public EnvironmentTypeUpdateProperties()

Creates an instance of EnvironmentTypeUpdateProperties class.

Method Details

displayName

public String displayName()

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

Returns:

the displayName value.

fromJson

public static EnvironmentTypeUpdateProperties fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentTypeUpdateProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplayName

public EnvironmentTypeUpdateProperties withDisplayName(String displayName)

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

Parameters:

displayName - the displayName value to set.

Returns:

the EnvironmentTypeUpdateProperties object itself.

Applies to