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
Constructors -
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 object is required whenEksPodProperties$imagePullSecretsis used.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobDefinition.ImagePullSecretProperty>- Returns:
- a new instance of
CfnJobDefinition.ImagePullSecretProperty - Throws:
NullPointerException- if any required attribute was not provided
-