Interface Mount.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Mount.Builder,,Mount> SdkBuilder<Mount.Builder,,Mount> SdkPojo
- Enclosing class:
Mount
@Mutable
@NotThreadSafe
public static interface Mount.Builder
extends SdkPojo, CopyableBuilder<Mount.Builder,Mount>
-
Method Summary
Modifier and TypeMethodDescriptionA unique name for the mount within the task.relativePath(String relativePath) The relative path under the service-owned mount root where this mount is attached inside the container.default Mount.Buildersource(Consumer<MountSource.Builder> source) The data source for the mount.source(MountSource source) The data source for the mount.storageType(String storageType) The type of storage used for the mount.storageType(MountStorageType storageType) The type of storage used for the mount.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
A unique name for the mount within the task.
- Parameters:
name- A unique name for the mount within the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relativePath
The relative path under the service-owned mount root where this mount is attached inside the container.
- Parameters:
relativePath- The relative path under the service-owned mount root where this mount is attached inside the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The data source for the mount.
- Parameters:
source- The data source for the mount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The data source for the mount.
This is a convenience method that creates an instance of theMountSource.Builderavoiding the need to create one manually viaMountSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(MountSource).- Parameters:
source- a consumer that will call methods onMountSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageType
The type of storage used for the mount.
- Parameters:
storageType- The type of storage used for the mount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageType
The type of storage used for the mount.
- Parameters:
storageType- The type of storage used for the mount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-