Class DscNodeConfigurationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.automation.fluent.models.DscNodeConfigurationInner
public final class DscNodeConfigurationInner
extends com.azure.core.management.ProxyResource
Definition of the dsc node configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: Gets or sets the configuration of the node.Get the creationTime property: Gets or sets creation time.Get the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.Get the lastModifiedTime property: Gets or sets the last modified time.Get the nodeCount property: Number of nodes with this node configuration assigned.source()
Get the source property: Source of node configuration.void
validate()
Validates the instance.withConfiguration
(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration of the node.withCreationTime
(OffsetDateTime creationTime) Set the creationTime property: Gets or sets creation time.withIncrementNodeConfigurationBuild
(Boolean incrementNodeConfigurationBuild) Set the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.withLastModifiedTime
(OffsetDateTime lastModifiedTime) Set the lastModifiedTime property: Gets or sets the last modified time.withNodeCount
(Long nodeCount) Set the nodeCount property: Number of nodes with this node configuration assigned.withSource
(String source) Set the source property: Source of node configuration.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DscNodeConfigurationInner
public DscNodeConfigurationInner()
-
-
Method Details
-
lastModifiedTime
Get the lastModifiedTime property: Gets or sets the last modified time.- Returns:
- the lastModifiedTime value.
-
withLastModifiedTime
Set the lastModifiedTime property: Gets or sets the last modified time.- Parameters:
lastModifiedTime
- the lastModifiedTime value to set.- Returns:
- the DscNodeConfigurationInner object itself.
-
creationTime
Get the creationTime property: Gets or sets creation time.- Returns:
- the creationTime value.
-
withCreationTime
Set the creationTime property: Gets or sets creation time.- Parameters:
creationTime
- the creationTime value to set.- Returns:
- the DscNodeConfigurationInner object itself.
-
configuration
Get the configuration property: Gets or sets the configuration of the node.- Returns:
- the configuration value.
-
withConfiguration
public DscNodeConfigurationInner withConfiguration(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration of the node.- Parameters:
configuration
- the configuration value to set.- Returns:
- the DscNodeConfigurationInner object itself.
-
source
Get the source property: Source of node configuration.- Returns:
- the source value.
-
withSource
Set the source property: Source of node configuration.- Parameters:
source
- the source value to set.- Returns:
- the DscNodeConfigurationInner object itself.
-
nodeCount
Get the nodeCount property: Number of nodes with this node configuration assigned.- Returns:
- the nodeCount value.
-
withNodeCount
Set the nodeCount property: Number of nodes with this node configuration assigned.- Parameters:
nodeCount
- the nodeCount value to set.- Returns:
- the DscNodeConfigurationInner object itself.
-
incrementNodeConfigurationBuild
Get the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.- Returns:
- the incrementNodeConfigurationBuild value.
-
withIncrementNodeConfigurationBuild
public DscNodeConfigurationInner withIncrementNodeConfigurationBuild(Boolean incrementNodeConfigurationBuild) Set the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.- Parameters:
incrementNodeConfigurationBuild
- the incrementNodeConfigurationBuild value to set.- Returns:
- the DscNodeConfigurationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-