Class DscNodeConfigurationCreateOrUpdateParameters
java.lang.Object
com.azure.resourcemanager.automation.models.DscNodeConfigurationCreateOrUpdateParameters
The parameters supplied to the create or update node configuration operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: Gets or sets the configuration of the node.Get the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.name()
Get the name property: Name of the node configuration.source()
Get the source property: Gets or sets the source.tags()
Get the tags property: Gets or sets the tags attached to the resource.void
validate()
Validates the instance.withConfiguration
(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration of the node.withIncrementNodeConfigurationBuild
(Boolean incrementNodeConfigurationBuild) Set the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.Set the name property: Name of the node configuration.withSource
(ContentSource source) Set the source property: Gets or sets the source.Set the tags property: Gets or sets the tags attached to the resource.
-
Constructor Details
-
DscNodeConfigurationCreateOrUpdateParameters
public DscNodeConfigurationCreateOrUpdateParameters()
-
-
Method Details
-
name
Get the name property: Name of the node configuration.- Returns:
- the name value.
-
withName
Set the name property: Name of the node configuration.- Parameters:
name
- the name value to set.- Returns:
- the DscNodeConfigurationCreateOrUpdateParameters object itself.
-
tags
Get the tags property: Gets or sets the tags attached to the resource.- Returns:
- the tags value.
-
withTags
Set the tags property: Gets or sets the tags attached to the resource.- Parameters:
tags
- the tags value to set.- Returns:
- the DscNodeConfigurationCreateOrUpdateParameters object itself.
-
source
Get the source property: Gets or sets the source.- Returns:
- the source value.
-
withSource
Set the source property: Gets or sets the source.- Parameters:
source
- the source value to set.- Returns:
- the DscNodeConfigurationCreateOrUpdateParameters object itself.
-
configuration
Get the configuration property: Gets or sets the configuration of the node.- Returns:
- the configuration value.
-
withConfiguration
public DscNodeConfigurationCreateOrUpdateParameters withConfiguration(DscConfigurationAssociationProperty configuration) Set the configuration property: Gets or sets the configuration of the node.- Parameters:
configuration
- the configuration value to set.- Returns:
- the DscNodeConfigurationCreateOrUpdateParameters object itself.
-
incrementNodeConfigurationBuild
Get the incrementNodeConfigurationBuild property: If a new build version of NodeConfiguration is required.- Returns:
- the incrementNodeConfigurationBuild value.
-
withIncrementNodeConfigurationBuild
public DscNodeConfigurationCreateOrUpdateParameters 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 DscNodeConfigurationCreateOrUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-