Class CfnJobDefinition.RepositoryCredentialsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnJobDefinition.RepositoryCredentialsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinition.RepositoryCredentialsProperty>
- Enclosing interface:
CfnJobDefinition.RepositoryCredentialsProperty
@Stability(Stable)
public static final class CfnJobDefinition.RepositoryCredentialsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinition.RepositoryCredentialsProperty>
A builder for
CfnJobDefinition.RepositoryCredentialsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.credentialsParameter
(String credentialsParameter) Sets the value ofCfnJobDefinition.RepositoryCredentialsProperty.getCredentialsParameter()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
credentialsParameter
@Stability(Stable) public CfnJobDefinition.RepositoryCredentialsProperty.Builder credentialsParameter(String credentialsParameter) Sets the value ofCfnJobDefinition.RepositoryCredentialsProperty.getCredentialsParameter()
- Parameters:
credentialsParameter
- The Amazon Resource Name (ARN) of the secret containing the private repository credentials. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobDefinition.RepositoryCredentialsProperty>
- Returns:
- a new instance of
CfnJobDefinition.RepositoryCredentialsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-