Interface FleetDeployment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FleetDeployment.Builder,FleetDeployment>,SdkBuilder<FleetDeployment.Builder,FleetDeployment>,SdkPojo
- Enclosing class:
- FleetDeployment
public static interface FleetDeployment.Builder extends SdkPojo, CopyableBuilder<FleetDeployment.Builder,FleetDeployment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FleetDeployment.BuildercreationTime(Instant creationTime)A time stamp indicating when this data object was created.default FleetDeployment.BuilderdeploymentConfiguration(Consumer<DeploymentConfiguration.Builder> deploymentConfiguration)Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.FleetDeployment.BuilderdeploymentConfiguration(DeploymentConfiguration deploymentConfiguration)Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.FleetDeployment.BuilderdeploymentId(String deploymentId)A unique identifier for the deployment.FleetDeployment.BuilderdeploymentStatus(String deploymentStatus)The status of fleet deployment activity in the location.FleetDeployment.BuilderdeploymentStatus(DeploymentStatus deploymentStatus)The status of fleet deployment activity in the location.FleetDeployment.BuilderfleetId(String fleetId)A unique identifier for the container fleet.FleetDeployment.BuildergameServerBinaryArn(String gameServerBinaryArn)The unique identifier for the version of the game server container group definition that is being deployed.FleetDeployment.BuilderperInstanceBinaryArn(String perInstanceBinaryArn)The unique identifier for the version of the per-instance container group definition that is being deployed.FleetDeployment.BuilderrollbackGameServerBinaryArn(String rollbackGameServerBinaryArn)The unique identifier for the version of the game server container group definition to roll back to if deployment fails.FleetDeployment.BuilderrollbackPerInstanceBinaryArn(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 Detail
-
deploymentId
FleetDeployment.Builder deploymentId(String 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
FleetDeployment.Builder fleetId(String 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
FleetDeployment.Builder gameServerBinaryArn(String 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
FleetDeployment.Builder rollbackGameServerBinaryArn(String rollbackGameServerBinaryArn)
The unique identifier for the version of the game server container group definition to roll back to if deployment fails. Amazon GameLift 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 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
FleetDeployment.Builder perInstanceBinaryArn(String 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
FleetDeployment.Builder rollbackPerInstanceBinaryArn(String rollbackPerInstanceBinaryArn)
The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails. Amazon GameLift 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 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
FleetDeployment.Builder deploymentStatus(String 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,DeploymentStatus
-
-
deploymentStatus
FleetDeployment.Builder deploymentStatus(DeploymentStatus 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,DeploymentStatus
-
-
deploymentConfiguration
FleetDeployment.Builder deploymentConfiguration(DeploymentConfiguration 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.Builderavoiding the need to create one manually viaDeploymentConfiguration.builder().When the
Consumercompletes,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:
deploymentConfiguration(DeploymentConfiguration)
-
creationTime
FleetDeployment.Builder creationTime(Instant 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.
-
-