Class ClusterDesiredProperties


  • public final class ClusterDesiredProperties
    extends Object
    Desired properties of the cluster.
    • Constructor Detail

      • ClusterDesiredProperties

        public ClusterDesiredProperties()
    • Method Detail

      • windowsServerSubscription

        public WindowsServerSubscription windowsServerSubscription()
        Get the windowsServerSubscription property: Desired state of Windows Server Subscription.
        Returns:
        the windowsServerSubscription value.
      • withWindowsServerSubscription

        public ClusterDesiredProperties withWindowsServerSubscription​(WindowsServerSubscription windowsServerSubscription)
        Set the windowsServerSubscription property: Desired state of Windows Server Subscription.
        Parameters:
        windowsServerSubscription - the windowsServerSubscription value to set.
        Returns:
        the ClusterDesiredProperties object itself.
      • diagnosticLevel

        public DiagnosticLevel diagnosticLevel()
        Get the diagnosticLevel property: Desired level of diagnostic data emitted by the cluster.
        Returns:
        the diagnosticLevel value.
      • withDiagnosticLevel

        public ClusterDesiredProperties withDiagnosticLevel​(DiagnosticLevel diagnosticLevel)
        Set the diagnosticLevel property: Desired level of diagnostic data emitted by the cluster.
        Parameters:
        diagnosticLevel - the diagnosticLevel value to set.
        Returns:
        the ClusterDesiredProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.