Class CfnDaemonTaskDefinition.RepositoryCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnDaemonTaskDefinition.RepositoryCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemonTaskDefinition.RepositoryCredentialsProperty>
- Enclosing interface:
CfnDaemonTaskDefinition.RepositoryCredentialsProperty
@Stability(Stable)
public static final class CfnDaemonTaskDefinition.RepositoryCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemonTaskDefinition.RepositoryCredentialsProperty>
A builder for
CfnDaemonTaskDefinition.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 CfnDaemonTaskDefinition.RepositoryCredentialsProperty.Builder credentialsParameter(String credentialsParameter) - Parameters:
credentialsParameter- The Amazon Resource Name (ARN) of the secret containing the private repository credentials. When you use the Amazon ECS API, 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<CfnDaemonTaskDefinition.RepositoryCredentialsProperty>- Returns:
- a new instance of
CfnDaemonTaskDefinition.RepositoryCredentialsProperty - Throws:
NullPointerException- if any required attribute was not provided
-