Class SetValue
java.lang.Object
com.azure.resourcemanager.containerregistry.models.SetValue
The properties of a overridable value that can be passed to a task template.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionisSecret()Get the isSecret property: Flag to indicate whether the value represents a secret or not.name()Get the name property: The name of the overridable value.voidvalidate()Validates the instance.value()Get the value property: The overridable value.withIsSecret(Boolean isSecret) Set the isSecret property: Flag to indicate whether the value represents a secret or not.Set the name property: The name of the overridable value.Set the value property: The overridable value.
-
Constructor Details
-
SetValue
public SetValue()Creates an instance of SetValue class.
-
-
Method Details
-
name
Get the name property: The name of the overridable value.- Returns:
- the name value.
-
withName
Set the name property: The name of the overridable value.- Parameters:
name- the name value to set.- Returns:
- the SetValue object itself.
-
value
Get the value property: The overridable value.- Returns:
- the value value.
-
withValue
Set the value property: The overridable value.- Parameters:
value- the value value to set.- Returns:
- the SetValue object itself.
-
isSecret
Get the isSecret property: Flag to indicate whether the value represents a secret or not.- Returns:
- the isSecret value.
-
withIsSecret
Set the isSecret property: Flag to indicate whether the value represents a secret or not.- Parameters:
isSecret- the isSecret value to set.- Returns:
- the SetValue object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-