Class SetValue
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.SetValue
-
public final class SetValue extends Object
The properties of a overridable value that can be passed to a task template.
-
-
Constructor Summary
Constructors Constructor Description SetValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanisSecret()Get the isSecret property: Flag to indicate whether the value represents a secret or not.Stringname()Get the name property: The name of the overridable value.voidvalidate()Validates the instance.Stringvalue()Get the value property: The overridable value.SetValuewithIsSecret(Boolean isSecret)Set the isSecret property: Flag to indicate whether the value represents a secret or not.SetValuewithName(String name)Set the name property: The name of the overridable value.SetValuewithValue(String value)Set the value property: The overridable value.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the overridable value.- Returns:
- the name value.
-
withName
public SetValue withName(String name)
Set the name property: The name of the overridable value.- Parameters:
name- the name value to set.- Returns:
- the SetValue object itself.
-
value
public String value()
Get the value property: The overridable value.- Returns:
- the value value.
-
withValue
public SetValue withValue(String value)
Set the value property: The overridable value.- Parameters:
value- the value value to set.- Returns:
- the SetValue object itself.
-
isSecret
public Boolean isSecret()
Get the isSecret property: Flag to indicate whether the value represents a secret or not.- Returns:
- the isSecret value.
-
withIsSecret
public SetValue withIsSecret(Boolean isSecret)
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.
-
-