Interface ContainerGroupsAttributes.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerGroupsAttributes.Builder,,ContainerGroupsAttributes> SdkBuilder<ContainerGroupsAttributes.Builder,,ContainerGroupsAttributes> SdkPojo
- Enclosing class:
ContainerGroupsAttributes
-
Method Summary
Modifier and TypeMethodDescriptionconnectionPortRange(Consumer<ConnectionPortRange.Builder> connectionPortRange) A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.connectionPortRange(ConnectionPortRange connectionPortRange) A set of ports that allow inbound traffic to connect to processes running in the fleet's container groups.containerGroupDefinitionProperties(Collection<ContainerGroupDefinitionProperty> containerGroupDefinitionProperties) A collection of properties that describe each container group in the fleet.containerGroupDefinitionProperties(Consumer<ContainerGroupDefinitionProperty.Builder>... containerGroupDefinitionProperties) A collection of properties that describe each container group in the fleet.containerGroupDefinitionProperties(ContainerGroupDefinitionProperty... containerGroupDefinitionProperties) A collection of properties that describe each container group in the fleet.containerGroupsPerInstance(Consumer<ContainerGroupsPerInstance.Builder> containerGroupsPerInstance) Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.containerGroupsPerInstance(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 tocontainerGroupDefinitionProperties(List<ContainerGroupDefinitionProperty>).- 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:
-
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:
-
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:
-