SetValue Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. SetValue
- com.
Implements
public final class SetValue
implements JsonSerializable<SetValue>
The properties of a overridable value that can be passed to a task template.
Constructor Summary
| Constructor | Description |
|---|---|
| SetValue() |
Creates an instance of Set |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Set |
fromJson(JsonReader jsonReader)
Reads an instance of Set |
| Boolean |
isSecret()
Get the is |
| String |
name()
Get the name property: The name of the overridable value. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: The overridable value. |
|
Set |
withIsSecret(Boolean isSecret)
Set the is |
|
Set |
withName(String name)
Set the name property: The name of the overridable value. |
|
Set |
withValue(String value)
Set the value property: The overridable value. |
Methods inherited from java.lang.Object
Constructor Details
SetValue
public SetValue()
Creates an instance of SetValue class.
Method Details
fromJson
public static SetValue fromJson(JsonReader jsonReader)
Reads an instance of SetValue from the JsonReader.
Parameters:
Returns:
Throws:
isSecret
public Boolean isSecret()
Get the isSecret property: Flag to indicate whether the value represents a secret or not.
Returns:
name
public String name()
Get the name property: The name of the overridable value.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: The overridable value.
Returns:
withIsSecret
public SetValue withIsSecret(Boolean isSecret)
Set the isSecret property: Flag to indicate whether the value represents a secret or not.
Parameters:
Returns:
withName
public SetValue withName(String name)
Set the name property: The name of the overridable value.
Parameters:
Returns:
withValue
public SetValue withValue(String value)
Set the value property: The overridable value.
Parameters:
Returns: