EnvironmentTypeUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.EnvironmentTypeUpdate

Implements

public final class EnvironmentTypeUpdate
implements JsonSerializable<EnvironmentTypeUpdate>

The environment type for partial update. Properties not provided in the update request will not be changed.

Constructor Summary

Constructor Description
EnvironmentTypeUpdate()

Creates an instance of EnvironmentTypeUpdate class.

Method Summary

Modifier and Type Method and Description
String displayName()

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

static EnvironmentTypeUpdate fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentTypeUpdate from the JsonReader.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EnvironmentTypeUpdate withDisplayName(String displayName)

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

EnvironmentTypeUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

EnvironmentTypeUpdate

public EnvironmentTypeUpdate()

Creates an instance of EnvironmentTypeUpdate 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 EnvironmentTypeUpdate fromJson(JsonReader jsonReader)

Reads an instance of EnvironmentTypeUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplayName

public EnvironmentTypeUpdate withDisplayName(String displayName)

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

Parameters:

displayName - the displayName value to set.

Returns:

the EnvironmentTypeUpdate object itself.

withTags

public EnvironmentTypeUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the EnvironmentTypeUpdate object itself.

Applies to