@Generated(value="software.amazon.awssdk:codegen") public class VolumeFrom extends Object implements StructuredPojo, ToCopyableBuilder<VolumeFrom.Builder,VolumeFrom>
Details on a data volume from another container in the same task definition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VolumeFrom.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VolumeFrom.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
Boolean |
readOnly()
If this value is
true, the container has read-only access to the volume. |
static Class<? extends VolumeFrom.Builder> |
serializableBuilderClass() |
String |
sourceContainer()
The name of another container within the same task definition to mount volumes from.
|
VolumeFrom.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String sourceContainer()
The name of another container within the same task definition to mount volumes from.
public Boolean readOnly()
If this value is true, the container has read-only access to the volume. If this value is
false, then the container can write to the volume. The default value is false.
true, the container has read-only access to the volume. If this value is
false, then the container can write to the volume. The default value is false.public VolumeFrom.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<VolumeFrom.Builder,VolumeFrom>public static VolumeFrom.Builder builder()
public static Class<? extends VolumeFrom.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.