PoolUpdate Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.PoolUpdate

Implements

public final class PoolUpdate
implements JsonSerializable<PoolUpdate>

The type used for update operations of the Pool.

Constructor Summary

Constructor Description
PoolUpdate()

Creates an instance of PoolUpdate class.

Method Summary

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

Reads an instance of PoolUpdate from the JsonReader.

ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

PoolUpdateProperties properties()

Get the properties property: The resource-specific properties for this resource.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PoolUpdate withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

PoolUpdate withProperties(PoolUpdateProperties properties)

Set the properties property: The resource-specific properties for this resource.

PoolUpdate withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

PoolUpdate

public PoolUpdate()

Creates an instance of PoolUpdate class.

Method Details

fromJson

public static PoolUpdate fromJson(JsonReader jsonReader)

Reads an instance of PoolUpdate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

identity

public ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

Returns:

the identity value.

properties

public PoolUpdateProperties properties()

Get the properties property: The resource-specific properties for this resource.

Returns:

the properties value.

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.

withIdentity

public PoolUpdate withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

Parameters:

identity - the identity value to set.

Returns:

the PoolUpdate object itself.

withProperties

public PoolUpdate withProperties(PoolUpdateProperties properties)

Set the properties property: The resource-specific properties for this resource.

Parameters:

properties - the properties value to set.

Returns:

the PoolUpdate object itself.

withTags

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

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the PoolUpdate object itself.

Applies to