Class CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty>
- Enclosing interface:
CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty
@Stability(Stable)
public static final class CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.credentialsParameter(String credentialsParameter)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialsParameter
@Stability(Stable) public CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty.Builder credentialsParameter(String credentialsParameter) Sets the value ofCfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty.getCredentialsParameter()- Parameters:
credentialsParameter- The Amazon Resource Name (ARN) of the secret containing the private repository credentials.When you use the Amazon ECS API, AWS CLI , or AWS 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 AWS Management Console, you must specify the full ARN of the secret.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty>- Returns:
- a new instance of
CfnTaskDefinitionPropsMixin.RepositoryCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-