Argument Class

  • java.lang.Object
    • com.microsoft.azure.management.containerregistry.Argument

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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

the isSecret value

name

public String name()

Get the name of the argument.

Returns:

the name value

value

public String value()

Get the value of the argument.

Returns:

the value value

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:

isSecret - the isSecret value to set

Returns:

the Argument object itself.

withName

public Argument withName(String name)

Set the name of the argument.

Parameters:

name - the name value to set

Returns:

the Argument object itself.

withValue

public Argument withValue(String value)

Set the value of the argument.

Parameters:

value - the value value to set

Returns:

the Argument object itself.

Applies to