PoolUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. PoolUpdate
- com.
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 Pool |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Pool |
fromJson(JsonReader jsonReader)
Reads an instance of Pool |
|
Managed |
identity()
Get the identity property: The managed service identities assigned to this resource. |
|
Pool |
properties()
Get the properties property: The resource-specific properties for this resource. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Pool |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The managed service identities assigned to this resource. |
|
Pool |
withProperties(PoolUpdateProperties properties)
Set the properties property: The resource-specific properties for this resource. |
|
Pool |
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:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: The managed service identities assigned to this resource.
Returns:
properties
public PoolUpdateProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
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:
Returns:
withProperties
public PoolUpdate withProperties(PoolUpdateProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns:
withTags
public PoolUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: