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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builderautoprovision(Boolean autoprovision)Whether to create the Docker volume automatically if it does not already exist.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builderdriver(String driver)The Docker volume driver to use.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.BuilderdriverOpts(Map<String,String> driverOpts)A map of Docker driver-specific options that are passed through.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builderlabels(Map<String,String> labels)Custom metadata to add to the Docker volume.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builderscope(String scope)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 Detail
-
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
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder driver(String 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
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder scope(String 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
sharedortask.- 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 aresharedortask.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-