@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerAttributes extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used with the Amazon GameLift containers feature, which is currently in public preview.
Describes attributes of containers that are deployed to a fleet with compute type CONTAINER.
| Constructor and Description |
|---|
ContainerAttributes() |
| Modifier and Type | Method and Description |
|---|---|
ContainerAttributes |
clone() |
boolean |
equals(Object obj) |
List<ContainerPortMapping> |
getContainerPortMappings()
Describes how container ports map to connection ports on the fleet instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContainerPortMappings(Collection<ContainerPortMapping> containerPortMappings)
Describes how container ports map to connection ports on the fleet instance.
|
String |
toString()
Returns a string representation of this object.
|
ContainerAttributes |
withContainerPortMappings(Collection<ContainerPortMapping> containerPortMappings)
Describes how container ports map to connection ports on the fleet instance.
|
ContainerAttributes |
withContainerPortMappings(ContainerPortMapping... containerPortMappings)
Describes how container ports map to connection ports on the fleet instance.
|
public List<ContainerPortMapping> getContainerPortMappings()
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game
via a connection port. A ContainerPortMapping directs the traffic from a connection port to a port
on the container that hosts the game session.
ContainerPortMapping directs the traffic from a connection
port to a port on the container that hosts the game session.public void setContainerPortMappings(Collection<ContainerPortMapping> containerPortMappings)
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game
via a connection port. A ContainerPortMapping directs the traffic from a connection port to a port
on the container that hosts the game session.
containerPortMappings - Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to
a game via a connection port. A ContainerPortMapping directs the traffic from a connection
port to a port on the container that hosts the game session.public ContainerAttributes withContainerPortMappings(ContainerPortMapping... containerPortMappings)
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game
via a connection port. A ContainerPortMapping directs the traffic from a connection port to a port
on the container that hosts the game session.
NOTE: This method appends the values to the existing list (if any). Use
setContainerPortMappings(java.util.Collection) or
withContainerPortMappings(java.util.Collection) if you want to override the existing values.
containerPortMappings - Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to
a game via a connection port. A ContainerPortMapping directs the traffic from a connection
port to a port on the container that hosts the game session.public ContainerAttributes withContainerPortMappings(Collection<ContainerPortMapping> containerPortMappings)
Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to a game
via a connection port. A ContainerPortMapping directs the traffic from a connection port to a port
on the container that hosts the game session.
containerPortMappings - Describes how container ports map to connection ports on the fleet instance. Incoming traffic connects to
a game via a connection port. A ContainerPortMapping directs the traffic from a connection
port to a port on the container that hosts the game session.public String toString()
toString in class ObjectObject.toString()public ContainerAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.