Class ClusterPatch
- java.lang.Object
-
- com.azure.resourcemanager.azurestackhci.models.ClusterPatch
-
public final class ClusterPatch extends Object
Cluster details to update.
-
-
Constructor Summary
Constructors Constructor Description ClusterPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
aadClientId()
Get the aadClientId property: App id of cluster AAD identity.String
aadTenantId()
Get the aadTenantId property: Tenant id of cluster AAD identity.String
cloudManagementEndpoint()
Get the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.ClusterDesiredProperties
desiredProperties()
Get the desiredProperties property: Desired properties of the cluster.Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.ClusterPatch
withAadClientId(String aadClientId)
Set the aadClientId property: App id of cluster AAD identity.ClusterPatch
withAadTenantId(String aadTenantId)
Set the aadTenantId property: Tenant id of cluster AAD identity.ClusterPatch
withCloudManagementEndpoint(String cloudManagementEndpoint)
Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.ClusterPatch
withDesiredProperties(ClusterDesiredProperties desiredProperties)
Set the desiredProperties property: Desired properties of the cluster.ClusterPatch
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public ClusterPatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ClusterPatch object itself.
-
cloudManagementEndpoint
public String cloudManagementEndpoint()
Get the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.- Returns:
- the cloudManagementEndpoint value.
-
withCloudManagementEndpoint
public ClusterPatch withCloudManagementEndpoint(String cloudManagementEndpoint)
Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.- Parameters:
cloudManagementEndpoint
- the cloudManagementEndpoint value to set.- Returns:
- the ClusterPatch object itself.
-
aadClientId
public String aadClientId()
Get the aadClientId property: App id of cluster AAD identity.- Returns:
- the aadClientId value.
-
withAadClientId
public ClusterPatch withAadClientId(String aadClientId)
Set the aadClientId property: App id of cluster AAD identity.- Parameters:
aadClientId
- the aadClientId value to set.- Returns:
- the ClusterPatch object itself.
-
aadTenantId
public String aadTenantId()
Get the aadTenantId property: Tenant id of cluster AAD identity.- Returns:
- the aadTenantId value.
-
withAadTenantId
public ClusterPatch withAadTenantId(String aadTenantId)
Set the aadTenantId property: Tenant id of cluster AAD identity.- Parameters:
aadTenantId
- the aadTenantId value to set.- Returns:
- the ClusterPatch object itself.
-
desiredProperties
public ClusterDesiredProperties desiredProperties()
Get the desiredProperties property: Desired properties of the cluster.- Returns:
- the desiredProperties value.
-
withDesiredProperties
public ClusterPatch withDesiredProperties(ClusterDesiredProperties desiredProperties)
Set the desiredProperties property: Desired properties of the cluster.- Parameters:
desiredProperties
- the desiredProperties value to set.- Returns:
- the ClusterPatch object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-