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