@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails extends Object implements Serializable, Cloneable, StructuredPojo
A data volume to mount from another container.
Constructor and Description |
---|
AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails |
clone() |
boolean |
equals(Object obj) |
Boolean |
getReadOnly()
Whether the container has read-only access to the volume.
|
String |
getSourceContainer()
The name of another container within the same task definition from which to mount volumes.
|
int |
hashCode() |
Boolean |
isReadOnly()
Whether the container has read-only access to the volume.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
|
void |
setSourceContainer(String sourceContainer)
The name of another container within the same task definition from which to mount volumes.
|
String |
toString()
Returns a string representation of this object.
|
AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails |
withReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
|
AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails |
withSourceContainer(String sourceContainer)
The name of another container within the same task definition from which to mount volumes.
|
public AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails()
public void setReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
readOnly
- Whether the container has read-only access to the volume.public Boolean getReadOnly()
Whether the container has read-only access to the volume.
public AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails withReadOnly(Boolean readOnly)
Whether the container has read-only access to the volume.
readOnly
- Whether the container has read-only access to the volume.public Boolean isReadOnly()
Whether the container has read-only access to the volume.
public void setSourceContainer(String sourceContainer)
The name of another container within the same task definition from which to mount volumes.
sourceContainer
- The name of another container within the same task definition from which to mount volumes.public String getSourceContainer()
The name of another container within the same task definition from which to mount volumes.
public AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails withSourceContainer(String sourceContainer)
The name of another container within the same task definition from which to mount volumes.
sourceContainer
- The name of another container within the same task definition from which to mount volumes.public String toString()
toString
in class Object
Object.toString()
public AwsEcsTaskDefinitionContainerDefinitionsVolumesFromDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.