@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContainerGroupsAttributes extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used with the Amazon GameLift containers feature, which is currently in public preview.
The properties of container groups that are running on a container fleet. Container group properties for a fleet can't be changed.
Returned by: DescribeFleetAttributes, CreateFleet
Constructor and Description |
---|
ContainerGroupsAttributes() |
Modifier and Type | Method and Description |
---|---|
ContainerGroupsAttributes |
clone() |
boolean |
equals(Object obj) |
ConnectionPortRange |
getConnectionPortRange()
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.
|
List<ContainerGroupDefinitionProperty> |
getContainerGroupDefinitionProperties()
A collection of properties that describe each container group in the fleet.
|
ContainerGroupsPerInstance |
getContainerGroupsPerInstance()
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the
container fleet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionPortRange(ConnectionPortRange connectionPortRange)
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.
|
void |
setContainerGroupDefinitionProperties(Collection<ContainerGroupDefinitionProperty> containerGroupDefinitionProperties)
A collection of properties that describe each container group in the fleet.
|
void |
setContainerGroupsPerInstance(ContainerGroupsPerInstance containerGroupsPerInstance)
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the
container fleet.
|
String |
toString()
Returns a string representation of this object.
|
ContainerGroupsAttributes |
withConnectionPortRange(ConnectionPortRange connectionPortRange)
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.
|
ContainerGroupsAttributes |
withContainerGroupDefinitionProperties(Collection<ContainerGroupDefinitionProperty> containerGroupDefinitionProperties)
A collection of properties that describe each container group in the fleet.
|
ContainerGroupsAttributes |
withContainerGroupDefinitionProperties(ContainerGroupDefinitionProperty... containerGroupDefinitionProperties)
A collection of properties that describe each container group in the fleet.
|
ContainerGroupsAttributes |
withContainerGroupsPerInstance(ContainerGroupsPerInstance containerGroupsPerInstance)
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the
container fleet.
|
public List<ContainerGroupDefinitionProperty> getContainerGroupDefinitionProperties()
A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition resources, which is where these properties are set.
public void setContainerGroupDefinitionProperties(Collection<ContainerGroupDefinitionProperty> containerGroupDefinitionProperties)
A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition resources, which is where these properties are set.
containerGroupDefinitionProperties
- A collection of properties that describe each container group in the fleet. A container fleet is deployed
with one or more ContainerGroupDefinition resources, which is where these properties are set.public ContainerGroupsAttributes withContainerGroupDefinitionProperties(ContainerGroupDefinitionProperty... containerGroupDefinitionProperties)
A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition resources, which is where these properties are set.
NOTE: This method appends the values to the existing list (if any). Use
setContainerGroupDefinitionProperties(java.util.Collection)
or
withContainerGroupDefinitionProperties(java.util.Collection)
if you want to override the existing
values.
containerGroupDefinitionProperties
- A collection of properties that describe each container group in the fleet. A container fleet is deployed
with one or more ContainerGroupDefinition resources, which is where these properties are set.public ContainerGroupsAttributes withContainerGroupDefinitionProperties(Collection<ContainerGroupDefinitionProperty> containerGroupDefinitionProperties)
A collection of properties that describe each container group in the fleet. A container fleet is deployed with one or more ContainerGroupDefinition resources, which is where these properties are set.
containerGroupDefinitionProperties
- A collection of properties that describe each container group in the fleet. A container fleet is deployed
with one or more ContainerGroupDefinition resources, which is where these properties are set.public void setConnectionPortRange(ConnectionPortRange connectionPortRange)
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups. Amazon
GameLift maps each connection port to a container port, which is assigned to a specific container process. A
fleet's connection port range can't be changed, but you can control access to connection ports by updating a
fleet's EC2InboundPermissions
with UpdateFleetPortSettings.
connectionPortRange
- A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.
Amazon GameLift maps each connection port to a container port, which is assigned to a specific container
process. A fleet's connection port range can't be changed, but you can control access to connection ports
by updating a fleet's EC2InboundPermissions
with UpdateFleetPortSettings.public ConnectionPortRange getConnectionPortRange()
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups. Amazon
GameLift maps each connection port to a container port, which is assigned to a specific container process. A
fleet's connection port range can't be changed, but you can control access to connection ports by updating a
fleet's EC2InboundPermissions
with UpdateFleetPortSettings.
EC2InboundPermissions
with
UpdateFleetPortSettings.public ContainerGroupsAttributes withConnectionPortRange(ConnectionPortRange connectionPortRange)
A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups. Amazon
GameLift maps each connection port to a container port, which is assigned to a specific container process. A
fleet's connection port range can't be changed, but you can control access to connection ports by updating a
fleet's EC2InboundPermissions
with UpdateFleetPortSettings.
connectionPortRange
- A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.
Amazon GameLift maps each connection port to a container port, which is assigned to a specific container
process. A fleet's connection port range can't be changed, but you can control access to connection ports
by updating a fleet's EC2InboundPermissions
with UpdateFleetPortSettings.public void setContainerGroupsPerInstance(ContainerGroupsPerInstance containerGroupsPerInstance)
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
containerGroupsPerInstance
- Details about the number of replica container groups that Amazon GameLift deploys to each instance in the
container fleet.public ContainerGroupsPerInstance getContainerGroupsPerInstance()
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
public ContainerGroupsAttributes withContainerGroupsPerInstance(ContainerGroupsPerInstance containerGroupsPerInstance)
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
containerGroupsPerInstance
- Details about the number of replica container groups that Amazon GameLift deploys to each instance in the
container fleet.public String toString()
toString
in class Object
Object.toString()
public ContainerGroupsAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.