Class CfnJobDefinition.ImagePullSecretProperty.Builder
java.lang.Object
software.amazon.awscdk.services.batch.CfnJobDefinition.ImagePullSecretProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinition.ImagePullSecretProperty>
- Enclosing interface:
CfnJobDefinition.ImagePullSecretProperty
@Stability(Stable)
public static final class CfnJobDefinition.ImagePullSecretProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinition.ImagePullSecretProperty>
A builder for
CfnJobDefinition.ImagePullSecretProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnJobDefinition.ImagePullSecretProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnJobDefinition.ImagePullSecretProperty.getName()
- Parameters:
name
- Provides a unique identifier for theImagePullSecret
. This parameter is required. This object is required whenEksPodProperties$imagePullSecrets
is used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnJobDefinition.ImagePullSecretProperty>
- Returns:
- a new instance of
CfnJobDefinition.ImagePullSecretProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-