FleetPatch Class
- java.
lang. Object - com.
azure. resourcemanager. containerservicefleet. models. FleetPatch
- com.
Implements
public final class FleetPatch
implements JsonSerializable<FleetPatch>
Properties of a Fleet that can be patched.
Constructor Summary
| Constructor | Description |
|---|---|
| FleetPatch() |
Creates an instance of Fleet |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Fleet |
fromJson(JsonReader jsonReader)
Reads an instance of Fleet |
|
Managed |
identity()
Get the identity property: Managed identity. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Fleet |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed identity. |
|
Fleet |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
FleetPatch
public FleetPatch()
Creates an instance of FleetPatch class.
Method Details
fromJson
public static FleetPatch fromJson(JsonReader jsonReader)
Reads an instance of FleetPatch from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed identity.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIdentity
public FleetPatch withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed identity.
Parameters:
Returns:
withTags
public FleetPatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: