Argument Class
- java.
lang. Object - com.
microsoft. azure. management. containerregistry. Argument
- com.
public class Argument
The properties of a run argument.
Constructor Summary
Constructor | Description | |
---|---|---|
Argument() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
isSecret()
Get flag to indicate whether the argument represents a secret and want to be removed from build logs. |
java.lang.String |
name()
Get the name of the argument. |
java.lang.String |
value()
Get the value of the argument. |
Argument |
withIsSecret(Boolean isSecret)
Set flag to indicate whether the argument represents a secret and want to be removed from build logs. |
Argument |
withName(String name)
Set the name of the argument. |
Argument |
withValue(String value)
Set the value of the argument. |
Methods inherited from java.lang.Object
Constructor Details
Argument
public Argument()
Method Details
isSecret
public Boolean isSecret()
Get 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 of the argument.
Returns:
value
public String value()
Get the value of the argument.
Returns:
withIsSecret
public Argument withIsSecret(Boolean isSecret)
Set 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 of the argument.
Parameters:
Returns:
withValue
public Argument withValue(String value)
Set the value of the argument.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for