Class RepositoryImageProps.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.RepositoryImageProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RepositoryImageProps>
- Enclosing interface:
- RepositoryImageProps
@Stability(Stable)
public static final class RepositoryImageProps.Builder
extends Object
implements software.amazon.jsii.Builder<RepositoryImageProps>
A builder for
RepositoryImageProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.credentials
(ISecret credentials) Sets the value ofRepositoryImageProps.getCredentials()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentials
Sets the value ofRepositoryImageProps.getCredentials()
- Parameters:
credentials
- The secret to expose to the container that contains the credentials for the image repository. The supported value is the full ARN of an AWS Secrets Manager secret.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RepositoryImageProps>
- Returns:
- a new instance of
RepositoryImageProps
- Throws:
NullPointerException
- if any required attribute was not provided
-