Class DscNodeConfigurationProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.DscNodeConfigurationProperties
Properties for the DscNodeConfiguration.
-
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.
-
Constructor Details
-
DscNodeConfigurationProperties
public DscNodeConfigurationProperties()
-
-
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 DscNodeConfigurationProperties 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 DscNodeConfigurationProperties object itself.
-
configuration
Get the configuration property: Gets or sets the configuration of the node.- Returns:
- the configuration value.
-
withConfiguration
public DscNodeConfigurationProperties withConfiguration(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration of the node.- Parameters:
configuration
- the configuration value to set.- Returns:
- the DscNodeConfigurationProperties 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 DscNodeConfigurationProperties 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 DscNodeConfigurationProperties object itself.
-
incrementNodeConfigurationBuild
Get the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.- Returns:
- the incrementNodeConfigurationBuild value.
-
withIncrementNodeConfigurationBuild
public DscNodeConfigurationProperties 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 DscNodeConfigurationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-