Interface UpdateContainerFleetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateContainerFleetRequest.Builder,
,UpdateContainerFleetRequest> GameLiftRequest.Builder
,SdkBuilder<UpdateContainerFleetRequest.Builder,
,UpdateContainerFleetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateContainerFleetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeploymentConfiguration
(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration) Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment.deploymentConfiguration
(DeploymentConfiguration deploymentConfiguration) Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment.description
(String description) A meaningful description of the container fleet.A unique identifier for the container fleet to update.gameServerContainerGroupDefinitionName
(String gameServerContainerGroupDefinitionName) The name or ARN value of a new game server container group definition to deploy on the fleet.gameServerContainerGroupsPerInstance
(Integer gameServerContainerGroupsPerInstance) The number of times to replicate the game server container group on each fleet instance.gameSessionCreationLimitPolicy
(Consumer<GameSessionCreationLimitPolicy.Builder> gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet.gameSessionCreationLimitPolicy
(GameSessionCreationLimitPolicy gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet.instanceConnectionPortRange
(Consumer<ConnectionPortRange.Builder> instanceConnectionPortRange) A revised set of port numbers to open on each fleet instance.instanceConnectionPortRange
(ConnectionPortRange instanceConnectionPortRange) A revised set of port numbers to open on each fleet instance.instanceInboundPermissionAuthorizations
(Collection<IpPermission> instanceInboundPermissionAuthorizations) A set of ports to add to the container fleet's inbound permissions.instanceInboundPermissionAuthorizations
(Consumer<IpPermission.Builder>... instanceInboundPermissionAuthorizations) A set of ports to add to the container fleet's inbound permissions.instanceInboundPermissionAuthorizations
(IpPermission... instanceInboundPermissionAuthorizations) A set of ports to add to the container fleet's inbound permissions.instanceInboundPermissionRevocations
(Collection<IpPermission> instanceInboundPermissionRevocations) A set of ports to remove from the container fleet's inbound permissions.instanceInboundPermissionRevocations
(Consumer<IpPermission.Builder>... instanceInboundPermissionRevocations) A set of ports to remove from the container fleet's inbound permissions.instanceInboundPermissionRevocations
(IpPermission... instanceInboundPermissionRevocations) A set of ports to remove from the container fleet's inbound permissions.logConfiguration
(Consumer<LogConfiguration.Builder> logConfiguration) The method for collecting container logs for the fleet.logConfiguration
(LogConfiguration logConfiguration) The method for collecting container logs for the fleet.metricGroups
(String... metricGroups) The name of an Amazon Web Services CloudWatch metric group to add this fleet to.metricGroups
(Collection<String> metricGroups) The name of an Amazon Web Services CloudWatch metric group to add this fleet to.newGameSessionProtectionPolicy
(String newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions that are started in this fleet.newGameSessionProtectionPolicy
(ProtectionPolicy newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions that are started in this fleet.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.perInstanceContainerGroupDefinitionName
(String perInstanceContainerGroupDefinitionName) The name or ARN value of a new per-instance container group definition to deploy on the fleet.removeAttributes
(Collection<ContainerFleetRemoveAttribute> removeAttributes) If set, this update removes a fleet's per-instance container group definition.removeAttributes
(ContainerFleetRemoveAttribute... removeAttributes) If set, this update removes a fleet's per-instance container group definition.removeAttributesWithStrings
(String... removeAttributes) If set, this update removes a fleet's per-instance container group definition.removeAttributesWithStrings
(Collection<String> removeAttributes) If set, this update removes a fleet's per-instance container group definition.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fleetId
A unique identifier for the container fleet to update. You can use either the fleet ID or ARN value.
- Parameters:
fleetId
- A unique identifier for the container fleet to update. You can use either the fleet ID or ARN value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerContainerGroupDefinitionName
UpdateContainerFleetRequest.Builder gameServerContainerGroupDefinitionName(String gameServerContainerGroupDefinitionName) The name or ARN value of a new game server container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value. You can't remove a fleet's game server container group definition, you can only update or replace it with another definition.
Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.
- Parameters:
gameServerContainerGroupDefinitionName
- The name or ARN value of a new game server container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value. You can't remove a fleet's game server container group definition, you can only update or replace it with another definition.Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perInstanceContainerGroupDefinitionName
UpdateContainerFleetRequest.Builder perInstanceContainerGroupDefinitionName(String perInstanceContainerGroupDefinitionName) The name or ARN value of a new per-instance container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value.
Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.
To remove a fleet's per-instance container group definition, leave this parameter empty and use the parameter
RemoveAttributes
.- Parameters:
perInstanceContainerGroupDefinitionName
- The name or ARN value of a new per-instance container group definition to deploy on the fleet. If you're updating the fleet to a specific version of a container group definition, use the ARN value and include the version number. If you're updating the fleet to the latest version of a container group definition, you can use the name value.Update a container group definition by calling UpdateContainerGroupDefinition. This operation creates a ContainerGroupDefinition resource with an incremented version.
To remove a fleet's per-instance container group definition, leave this parameter empty and use the parameter
RemoveAttributes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerContainerGroupsPerInstance
UpdateContainerFleetRequest.Builder gameServerContainerGroupsPerInstance(Integer gameServerContainerGroupsPerInstance) The number of times to replicate the game server container group on each fleet instance. By default, Amazon GameLift Servers calculates the maximum number of game server container groups that can fit on each instance. You can remove this property value to use the calculated value, or set it manually. If you set this number manually, Amazon GameLift Servers uses your value as long as it's less than the calculated maximum.
- Parameters:
gameServerContainerGroupsPerInstance
- The number of times to replicate the game server container group on each fleet instance. By default, Amazon GameLift Servers calculates the maximum number of game server container groups that can fit on each instance. You can remove this property value to use the calculated value, or set it manually. If you set this number manually, Amazon GameLift Servers uses your value as long as it's less than the calculated maximum.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceConnectionPortRange
UpdateContainerFleetRequest.Builder instanceConnectionPortRange(ConnectionPortRange instanceConnectionPortRange) A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers calculates an optimal port range based on your fleet configuration. If you previously set this parameter manually, you can't reset this to use the calculated settings.
- Parameters:
instanceConnectionPortRange
- A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers calculates an optimal port range based on your fleet configuration. If you previously set this parameter manually, you can't reset this to use the calculated settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceConnectionPortRange
default UpdateContainerFleetRequest.Builder instanceConnectionPortRange(Consumer<ConnectionPortRange.Builder> instanceConnectionPortRange) A revised set of port numbers to open on each fleet instance. By default, Amazon GameLift Servers calculates an optimal port range based on your fleet configuration. If you previously set this parameter manually, you can't reset this to use the calculated settings.
This is a convenience method that creates an instance of theConnectionPortRange.Builder
avoiding the need to create one manually viaConnectionPortRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceConnectionPortRange(ConnectionPortRange)
.- Parameters:
instanceConnectionPortRange
- 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:
-
instanceInboundPermissionAuthorizations
UpdateContainerFleetRequest.Builder instanceInboundPermissionAuthorizations(Collection<IpPermission> instanceInboundPermissionAuthorizations) A set of ports to add to the container fleet's inbound permissions.
- Parameters:
instanceInboundPermissionAuthorizations
- A set of ports to add to the container fleet's inbound permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInboundPermissionAuthorizations
UpdateContainerFleetRequest.Builder instanceInboundPermissionAuthorizations(IpPermission... instanceInboundPermissionAuthorizations) A set of ports to add to the container fleet's inbound permissions.
- Parameters:
instanceInboundPermissionAuthorizations
- A set of ports to add to the container fleet's inbound permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInboundPermissionAuthorizations
UpdateContainerFleetRequest.Builder instanceInboundPermissionAuthorizations(Consumer<IpPermission.Builder>... instanceInboundPermissionAuthorizations) A set of ports to add to the container fleet's inbound permissions.
This is a convenience method that creates an instance of theIpPermission.Builder
avoiding the need to create one manually viaIpPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceInboundPermissionAuthorizations(List<IpPermission>)
.- Parameters:
instanceInboundPermissionAuthorizations
- a consumer that will call methods onIpPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceInboundPermissionRevocations
UpdateContainerFleetRequest.Builder instanceInboundPermissionRevocations(Collection<IpPermission> instanceInboundPermissionRevocations) A set of ports to remove from the container fleet's inbound permissions.
- Parameters:
instanceInboundPermissionRevocations
- A set of ports to remove from the container fleet's inbound permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInboundPermissionRevocations
UpdateContainerFleetRequest.Builder instanceInboundPermissionRevocations(IpPermission... instanceInboundPermissionRevocations) A set of ports to remove from the container fleet's inbound permissions.
- Parameters:
instanceInboundPermissionRevocations
- A set of ports to remove from the container fleet's inbound permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceInboundPermissionRevocations
UpdateContainerFleetRequest.Builder instanceInboundPermissionRevocations(Consumer<IpPermission.Builder>... instanceInboundPermissionRevocations) A set of ports to remove from the container fleet's inbound permissions.
This is a convenience method that creates an instance of theIpPermission.Builder
avoiding the need to create one manually viaIpPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceInboundPermissionRevocations(List<IpPermission>)
.- Parameters:
instanceInboundPermissionRevocations
- a consumer that will call methods onIpPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfiguration
UpdateContainerFleetRequest.Builder deploymentConfiguration(DeploymentConfiguration deploymentConfiguration) Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment. The deployment configuration lets you determine how to replace fleet instances and what actions to take if the deployment fails.
- Parameters:
deploymentConfiguration
- Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment. The deployment configuration lets you determine how to replace fleet instances and what actions to take if the deployment fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfiguration
default UpdateContainerFleetRequest.Builder deploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration) Instructions for how to deploy updates to a container fleet, if the fleet update initiates a deployment. The deployment configuration lets you determine how to replace fleet instances and what actions to take if the deployment fails.
This is a convenience method that creates an instance of theDeploymentConfiguration.Builder
avoiding the need to create one manually viaDeploymentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentConfiguration(DeploymentConfiguration)
.- Parameters:
deploymentConfiguration
- a consumer that will call methods onDeploymentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A meaningful description of the container fleet.
- Parameters:
description
- A meaningful description of the container fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricGroups
The name of an Amazon Web Services CloudWatch metric group to add this fleet to.
- Parameters:
metricGroups
- The name of an Amazon Web Services CloudWatch metric group to add this fleet to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricGroups
The name of an Amazon Web Services CloudWatch metric group to add this fleet to.
- Parameters:
metricGroups
- The name of an Amazon Web Services CloudWatch metric group to add this fleet to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newGameSessionProtectionPolicy
UpdateContainerFleetRequest.Builder newGameSessionProtectionPolicy(String newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.
- Parameters:
newGameSessionProtectionPolicy
- The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
newGameSessionProtectionPolicy
UpdateContainerFleetRequest.Builder newGameSessionProtectionPolicy(ProtectionPolicy newGameSessionProtectionPolicy) The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.
- Parameters:
newGameSessionProtectionPolicy
- The game session protection policy to apply to all new game sessions that are started in this fleet. Game sessions that already exist are not affected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gameSessionCreationLimitPolicy
UpdateContainerFleetRequest.Builder gameSessionCreationLimitPolicy(GameSessionCreationLimitPolicy gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.
- Parameters:
gameSessionCreationLimitPolicy
- A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameSessionCreationLimitPolicy
default UpdateContainerFleetRequest.Builder gameSessionCreationLimitPolicy(Consumer<GameSessionCreationLimitPolicy.Builder> gameSessionCreationLimitPolicy) A policy that limits the number of game sessions that each individual player can create on instances in this fleet. The limit applies for a specified span of time.
This is a convenience method that creates an instance of theGameSessionCreationLimitPolicy.Builder
avoiding the need to create one manually viaGameSessionCreationLimitPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togameSessionCreationLimitPolicy(GameSessionCreationLimitPolicy)
.- Parameters:
gameSessionCreationLimitPolicy
- a consumer that will call methods onGameSessionCreationLimitPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logConfiguration
The method for collecting container logs for the fleet.
- Parameters:
logConfiguration
- The method for collecting container logs for the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logConfiguration
default UpdateContainerFleetRequest.Builder logConfiguration(Consumer<LogConfiguration.Builder> logConfiguration) The method for collecting container logs for the fleet.
This is a convenience method that creates an instance of theLogConfiguration.Builder
avoiding the need to create one manually viaLogConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologConfiguration(LogConfiguration)
.- Parameters:
logConfiguration
- a consumer that will call methods onLogConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeAttributesWithStrings
UpdateContainerFleetRequest.Builder removeAttributesWithStrings(Collection<String> removeAttributes) If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
- Parameters:
removeAttributes
- If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAttributesWithStrings
If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
- Parameters:
removeAttributes
- If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAttributes
UpdateContainerFleetRequest.Builder removeAttributes(Collection<ContainerFleetRemoveAttribute> removeAttributes) If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
- Parameters:
removeAttributes
- If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeAttributes
UpdateContainerFleetRequest.Builder removeAttributes(ContainerFleetRemoveAttribute... removeAttributes) If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.
- Parameters:
removeAttributes
- If set, this update removes a fleet's per-instance container group definition. You can't remove a fleet's game server container group definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateContainerFleetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateContainerFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-