Class ClusterPatch


  • public final class ClusterPatch
    extends Object
    Cluster details to update.
    • Constructor Detail

      • ClusterPatch

        public ClusterPatch()
    • 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.