public static interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder extends SdkPojo, CopyableBuilder<AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder,AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder |
autoprovision(Boolean autoprovision)
Whether to create the Docker volume automatically if it does not already exist.
|
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder |
driver(String driver)
The Docker volume driver to use.
|
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder |
driverOpts(Map<String,String> driverOpts)
A map of Docker driver-specific options that are passed through.
|
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder |
labels(Map<String,String> labels)
Custom metadata to add to the Docker volume.
|
AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder |
scope(String scope)
The scope for the Docker volume that determines its lifecycle.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder autoprovision(Boolean autoprovision)
Whether to create the Docker volume automatically if it does not already exist.
autoprovision - Whether to create the Docker volume automatically if it does not already exist.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder driver(String driver)
The Docker volume driver to use.
driver - The Docker volume driver to use.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder driverOpts(Map<String,String> driverOpts)
A map of Docker driver-specific options that are passed through.
driverOpts - A map of Docker driver-specific options that are passed through.AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails.Builder labels(Map<String,String> labels)
Custom metadata to add to the Docker volume.
labels - Custom metadata to add to the Docker volume.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.
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.Copyright © 2022. All rights reserved.