Class ClusterDesiredProperties
- java.lang.Object
-
- com.azure.resourcemanager.azurestackhci.models.ClusterDesiredProperties
-
public final class ClusterDesiredProperties extends Object
Desired properties of the cluster.
-
-
Constructor Summary
Constructors Constructor Description ClusterDesiredProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiagnosticLevel
diagnosticLevel()
Get the diagnosticLevel property: Desired level of diagnostic data emitted by the cluster.void
validate()
Validates the instance.WindowsServerSubscription
windowsServerSubscription()
Get the windowsServerSubscription property: Desired state of Windows Server Subscription.ClusterDesiredProperties
withDiagnosticLevel(DiagnosticLevel diagnosticLevel)
Set the diagnosticLevel property: Desired level of diagnostic data emitted by the cluster.ClusterDesiredProperties
withWindowsServerSubscription(WindowsServerSubscription windowsServerSubscription)
Set the windowsServerSubscription property: Desired state of Windows Server Subscription.
-
-
-
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.
-
-