@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryCredentials extends Object implements Serializable, Cloneable, StructuredPojo
The repository credentials for private registry authentication.
Constructor and Description |
---|
RepositoryCredentials() |
Modifier and Type | Method and Description |
---|---|
RepositoryCredentials |
clone() |
boolean |
equals(Object obj) |
String |
getCredentialsParameter()
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCredentialsParameter(String credentialsParameter)
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryCredentials |
withCredentialsParameter(String credentialsParameter)
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
|
public void setCredentialsParameter(String credentialsParameter)
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
credentialsParameter
- The Amazon Resource Name (ARN) of the secret containing the private repository credentials. When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
public String getCredentialsParameter()
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
public RepositoryCredentials withCredentialsParameter(String credentialsParameter)
The Amazon Resource Name (ARN) of the secret containing the private repository credentials.
When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
credentialsParameter
- The Amazon Resource Name (ARN) of the secret containing the private repository credentials. When you use the Amazon ECS API, CLI, or Amazon Web Services SDK, if the secret exists in the same Region as the task that you're launching then you can use either the full ARN or the name of the secret. When you use the Amazon Web Services Management Console, you must specify the full ARN of the secret.
public String toString()
toString
in class Object
Object.toString()
public RepositoryCredentials clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.