@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Container extends Object implements Serializable, Cloneable, StructuredPojo
A container encapsulates the runtime environment for an application.
Constructor and Description |
---|
Container() |
Modifier and Type | Method and Description |
---|---|
Container |
clone() |
boolean |
equals(Object obj) |
List<String> |
getImageUris()
A list of URIs for containers created in the context Region.
|
String |
getRegion()
Containers and container images are Region-specific.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setImageUris(Collection<String> imageUris)
A list of URIs for containers created in the context Region.
|
void |
setRegion(String region)
Containers and container images are Region-specific.
|
String |
toString()
Returns a string representation of this object.
|
Container |
withImageUris(Collection<String> imageUris)
A list of URIs for containers created in the context Region.
|
Container |
withImageUris(String... imageUris)
A list of URIs for containers created in the context Region.
|
Container |
withRegion(String region)
Containers and container images are Region-specific.
|
public void setRegion(String region)
Containers and container images are Region-specific. This is the Region context for the container.
region
- Containers and container images are Region-specific. This is the Region context for the container.public String getRegion()
Containers and container images are Region-specific. This is the Region context for the container.
public Container withRegion(String region)
Containers and container images are Region-specific. This is the Region context for the container.
region
- Containers and container images are Region-specific. This is the Region context for the container.public List<String> getImageUris()
A list of URIs for containers created in the context Region.
public void setImageUris(Collection<String> imageUris)
A list of URIs for containers created in the context Region.
imageUris
- A list of URIs for containers created in the context Region.public Container withImageUris(String... imageUris)
A list of URIs for containers created in the context Region.
NOTE: This method appends the values to the existing list (if any). Use
setImageUris(java.util.Collection)
or withImageUris(java.util.Collection)
if you want to
override the existing values.
imageUris
- A list of URIs for containers created in the context Region.public Container withImageUris(Collection<String> imageUris)
A list of URIs for containers created in the context Region.
imageUris
- A list of URIs for containers created in the context Region.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.