Interface FleetDeployment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FleetDeployment.Builder,
,FleetDeployment> SdkBuilder<FleetDeployment.Builder,
,FleetDeployment> SdkPojo
- Enclosing class:
FleetDeployment
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) A time stamp indicating when this data object was created.default FleetDeployment.Builder
deploymentConfiguration
(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration) Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.deploymentConfiguration
(DeploymentConfiguration deploymentConfiguration) Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.deploymentId
(String deploymentId) A unique identifier for the deployment.deploymentStatus
(String deploymentStatus) The status of fleet deployment activity in the location.deploymentStatus
(DeploymentStatus deploymentStatus) The status of fleet deployment activity in the location.A unique identifier for the container fleet.gameServerBinaryArn
(String gameServerBinaryArn) The unique identifier for the version of the game server container group definition that is being deployed.perInstanceBinaryArn
(String perInstanceBinaryArn) The unique identifier for the version of the per-instance container group definition that is being deployed.rollbackGameServerBinaryArn
(String rollbackGameServerBinaryArn) The unique identifier for the version of the game server container group definition to roll back to if deployment fails.rollbackPerInstanceBinaryArn
(String rollbackPerInstanceBinaryArn) The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails.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, sdkFieldNameToField, sdkFields
-
Method Details
-
deploymentId
A unique identifier for the deployment.
- Parameters:
deploymentId
- A unique identifier for the deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetId
A unique identifier for the container fleet.
- Parameters:
fleetId
- A unique identifier for the container fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gameServerBinaryArn
The unique identifier for the version of the game server container group definition that is being deployed.
- Parameters:
gameServerBinaryArn
- The unique identifier for the version of the game server container group definition that is being deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackGameServerBinaryArn
The unique identifier for the version of the game server container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.
- Parameters:
rollbackGameServerBinaryArn
- The unique identifier for the version of the game server container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
perInstanceBinaryArn
The unique identifier for the version of the per-instance container group definition that is being deployed.
- Parameters:
perInstanceBinaryArn
- The unique identifier for the version of the per-instance container group definition that is being deployed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rollbackPerInstanceBinaryArn
The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.
- Parameters:
rollbackPerInstanceBinaryArn
- The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails. Amazon GameLift Servers sets this property to the container group definition version that the fleet used when it was last active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentStatus
The status of fleet deployment activity in the location.
-
IN_PROGRESS
-- The deployment is in progress. -
IMPAIRED
-- The deployment failed and the fleet has some impaired containers. -
COMPLETE
-- The deployment has completed successfully. -
ROLLBACK_IN_PROGRESS
-- The deployment failed and rollback has been initiated. -
ROLLBACK_IN_COMPLETE
-- The deployment failed and rollback has been completed. -
CANCELLED
-- The deployment was cancelled.
- Parameters:
deploymentStatus
- The status of fleet deployment activity in the location.-
IN_PROGRESS
-- The deployment is in progress. -
IMPAIRED
-- The deployment failed and the fleet has some impaired containers. -
COMPLETE
-- The deployment has completed successfully. -
ROLLBACK_IN_PROGRESS
-- The deployment failed and rollback has been initiated. -
ROLLBACK_IN_COMPLETE
-- The deployment failed and rollback has been completed. -
CANCELLED
-- The deployment was cancelled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deploymentStatus
The status of fleet deployment activity in the location.
-
IN_PROGRESS
-- The deployment is in progress. -
IMPAIRED
-- The deployment failed and the fleet has some impaired containers. -
COMPLETE
-- The deployment has completed successfully. -
ROLLBACK_IN_PROGRESS
-- The deployment failed and rollback has been initiated. -
ROLLBACK_IN_COMPLETE
-- The deployment failed and rollback has been completed. -
CANCELLED
-- The deployment was cancelled.
- Parameters:
deploymentStatus
- The status of fleet deployment activity in the location.-
IN_PROGRESS
-- The deployment is in progress. -
IMPAIRED
-- The deployment failed and the fleet has some impaired containers. -
COMPLETE
-- The deployment has completed successfully. -
ROLLBACK_IN_PROGRESS
-- The deployment failed and rollback has been initiated. -
ROLLBACK_IN_COMPLETE
-- The deployment failed and rollback has been completed. -
CANCELLED
-- The deployment was cancelled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
deploymentConfiguration
Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.
- Parameters:
deploymentConfiguration
- Instructions for how to deploy updates to a container fleet 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 FleetDeployment.Builder deploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration) Instructions for how to deploy updates to a container fleet 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:
-
creationTime
A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example
"1469498468.057"
).- Parameters:
creationTime
- A time stamp indicating when this data object was created. Format is a number expressed in Unix time as milliseconds (for example"1469498468.057"
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-