Interface ContainerGroupsAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerGroupsAttributes.Builder,ContainerGroupsAttributes>,SdkBuilder<ContainerGroupsAttributes.Builder,ContainerGroupsAttributes>,SdkPojo
- Enclosing class:
- ContainerGroupsAttributes
public static interface ContainerGroupsAttributes.Builder extends SdkPojo, CopyableBuilder<ContainerGroupsAttributes.Builder,ContainerGroupsAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ContainerGroupsAttributes.BuilderconnectionPortRange(Consumer<ConnectionPortRange.Builder> connectionPortRange)A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.ContainerGroupsAttributes.BuilderconnectionPortRange(ConnectionPortRange connectionPortRange)A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.ContainerGroupsAttributes.BuildercontainerGroupDefinitionProperties(Collection<ContainerGroupDefinitionProperty> containerGroupDefinitionProperties)A collection of properties that describe each container group in the fleet.ContainerGroupsAttributes.BuildercontainerGroupDefinitionProperties(Consumer<ContainerGroupDefinitionProperty.Builder>... containerGroupDefinitionProperties)A collection of properties that describe each container group in the fleet.ContainerGroupsAttributes.BuildercontainerGroupDefinitionProperties(ContainerGroupDefinitionProperty... containerGroupDefinitionProperties)A collection of properties that describe each container group in the fleet.default ContainerGroupsAttributes.BuildercontainerGroupsPerInstance(Consumer<ContainerGroupsPerInstance.Builder> containerGroupsPerInstance)Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.ContainerGroupsAttributes.BuildercontainerGroupsPerInstance(ContainerGroupsPerInstance containerGroupsPerInstance)Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
containerGroupDefinitionProperties
ContainerGroupsAttributes.Builder containerGroupDefinitionProperties(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupDefinitionProperties
ContainerGroupsAttributes.Builder containerGroupDefinitionProperties(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupDefinitionProperties
ContainerGroupsAttributes.Builder containerGroupDefinitionProperties(Consumer<ContainerGroupDefinitionProperty.Builder>... 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.
This is a convenience method that creates an instance of theContainerGroupDefinitionProperty.Builderavoiding the need to create one manually viaContainerGroupDefinitionProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#containerGroupDefinitionProperties(List.) - Parameters:
containerGroupDefinitionProperties- a consumer that will call methods onContainerGroupDefinitionProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containerGroupDefinitionProperties(java.util.Collection)
-
connectionPortRange
ContainerGroupsAttributes.Builder connectionPortRange(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
EC2InboundPermissionswith UpdateFleetPortSettings.- Parameters:
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'sEC2InboundPermissionswith UpdateFleetPortSettings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionPortRange
default ContainerGroupsAttributes.Builder connectionPortRange(Consumer<ConnectionPortRange.Builder> 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
This is a convenience method that creates an instance of theEC2InboundPermissionswith UpdateFleetPortSettings.ConnectionPortRange.Builderavoiding the need to create one manually viaConnectionPortRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnectionPortRange(ConnectionPortRange).- Parameters:
connectionPortRange- a consumer that will call methods onConnectionPortRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
connectionPortRange(ConnectionPortRange)
-
containerGroupsPerInstance
ContainerGroupsAttributes.Builder containerGroupsPerInstance(ContainerGroupsPerInstance containerGroupsPerInstance)
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
- Parameters:
containerGroupsPerInstance- Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerGroupsPerInstance
default ContainerGroupsAttributes.Builder containerGroupsPerInstance(Consumer<ContainerGroupsPerInstance.Builder> containerGroupsPerInstance)
Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.
This is a convenience method that creates an instance of theContainerGroupsPerInstance.Builderavoiding the need to create one manually viaContainerGroupsPerInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerGroupsPerInstance(ContainerGroupsPerInstance).- Parameters:
containerGroupsPerInstance- a consumer that will call methods onContainerGroupsPerInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
containerGroupsPerInstance(ContainerGroupsPerInstance)
-
-