Class VariableCreateOrUpdateProperties
java.lang.Object
com.azure.resourcemanager.automation.fluent.models.VariableCreateOrUpdateProperties
The properties of the create variable operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Gets or sets the description of the variable.Get the isEncrypted property: Gets or sets the encrypted flag of the variable.void
validate()
Validates the instance.value()
Get the value property: Gets or sets the value of the variable.withDescription
(String description) Set the description property: Gets or sets the description of the variable.withIsEncrypted
(Boolean isEncrypted) Set the isEncrypted property: Gets or sets the encrypted flag of the variable.Set the value property: Gets or sets the value of the variable.
-
Constructor Details
-
VariableCreateOrUpdateProperties
public VariableCreateOrUpdateProperties()
-
-
Method Details
-
value
Get the value property: Gets or sets the value of the variable.- Returns:
- the value value.
-
withValue
Set the value property: Gets or sets the value of the variable.- Parameters:
value
- the value value to set.- Returns:
- the VariableCreateOrUpdateProperties object itself.
-
description
Get the description property: Gets or sets the description of the variable.- Returns:
- the description value.
-
withDescription
Set the description property: Gets or sets the description of the variable.- Parameters:
description
- the description value to set.- Returns:
- the VariableCreateOrUpdateProperties object itself.
-
isEncrypted
Get the isEncrypted property: Gets or sets the encrypted flag of the variable.- Returns:
- the isEncrypted value.
-
withIsEncrypted
Set the isEncrypted property: Gets or sets the encrypted flag of the variable.- Parameters:
isEncrypted
- the isEncrypted value to set.- Returns:
- the VariableCreateOrUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-