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 Details

    • 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

      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

      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 or task.

      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 are shared or task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.