Interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder,
,AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails> SdkBuilder<AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder,
,AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails> SdkPojo
- Enclosing class:
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails
public static interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder
extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder,AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails>
-
Method Summary
Modifier and TypeMethodDescriptionautoprovision
(Boolean autoprovision) Whether to create the Docker volume automatically if it does not already exist.The Docker volume driver to use.driverOpts
(Map<String, String> driverOpts) A map of Docker driver-specific options that are passed through.Custom metadata to add to the Docker volume.The scope for the Docker volume that determines its lifecycle.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
autoprovision
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder autoprovision(Boolean autoprovision) Whether to create the Docker volume automatically if it does not already exist.
- Parameters:
autoprovision
- Whether to create the Docker volume automatically if it does not already exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driver
The Docker volume driver to use.
- Parameters:
driver
- The Docker volume driver to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driverOpts
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder driverOpts(Map<String, String> driverOpts) A map of Docker driver-specific options that are passed through.
- Parameters:
driverOpts
- A map of Docker driver-specific options that are passed through.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labels
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder labels(Map<String, String> labels) Custom metadata to add to the Docker volume.
- Parameters:
labels
- Custom metadata to add to the Docker volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are
shared
ortask
.- Parameters:
scope
- The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values areshared
ortask
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-