Class CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.batch.CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty>
- Enclosing interface:
CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty
@Stability(Stable)
public static final class CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.readOnly(IResolvable readOnly)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
claimName
@Stability(Stable) public CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Builder claimName(String claimName) - Parameters:
claimName- The name of thepersistentVolumeClaimbounded to apersistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation .- Returns:
this
-
readOnly
@Stability(Stable) public CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Builder readOnly(Boolean readOnly) - Parameters:
readOnly- An optional boolean value indicating if the mount is read only. Default is false. For more information, see Read Only Mounts in the Kubernetes documentation .- Returns:
this
-
readOnly
@Stability(Stable) public CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty.Builder readOnly(IResolvable readOnly) - Parameters:
readOnly- An optional boolean value indicating if the mount is read only. Default is false. For more information, see Read Only Mounts in the Kubernetes documentation .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty>- Returns:
- a new instance of
CfnJobDefinitionPropsMixin.EksPersistentVolumeClaimProperty - Throws:
NullPointerException- if any required attribute was not provided
-