Class HostVolumeProperties
- java.lang.Object
-
- software.amazon.awssdk.services.ecs.model.HostVolumeProperties
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>
@Generated("software.amazon.awssdk:codegen") public final class HostVolumeProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>
Details on a container instance bind mount host volume.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHostVolumeProperties.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HostVolumeProperties.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends HostVolumeProperties.Builder>serializableBuilderClass()StringsourcePath()When thehostparameter is used, specify asourcePathto declare the path on the host container instance that's presented to the container.HostVolumeProperties.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourcePath
public final String sourcePath()
When the
hostparameter is used, specify asourcePathto declare the path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If thehostparameter contains asourcePathfile location, then the data volume persists at the specified location on the host container instance until you delete it manually. If thesourcePathvalue doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.If you're using the Fargate launch type, the
sourcePathparameter is not supported.- Returns:
- When the
hostparameter is used, specify asourcePathto declare the path on the host container instance that's presented to the container. If this parameter is empty, then the Docker daemon has assigned a host path for you. If thehostparameter contains asourcePathfile location, then the data volume persists at the specified location on the host container instance until you delete it manually. If thesourcePathvalue doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the contents of the source path folder are exported.If you're using the Fargate launch type, the
sourcePathparameter is not supported.
-
toBuilder
public HostVolumeProperties.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>
-
builder
public static HostVolumeProperties.Builder builder()
-
serializableBuilderClass
public static Class<? extends HostVolumeProperties.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-