Class FleetDeployment
- java.lang.Object
-
- software.amazon.awssdk.services.gamelift.model.FleetDeployment
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FleetDeployment.Builder,FleetDeployment>
@Generated("software.amazon.awssdk:codegen") public final class FleetDeployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FleetDeployment.Builder,FleetDeployment>
Describes a container fleet deployment with updates to the fleet.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFleetDeployment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FleetDeployment.Builderbuilder()InstantcreationTime()A time stamp indicating when this data object was created.DeploymentConfigurationdeploymentConfiguration()Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.StringdeploymentId()A unique identifier for the deployment.DeploymentStatusdeploymentStatus()The status of fleet deployment activity in the location.StringdeploymentStatusAsString()The status of fleet deployment activity in the location.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfleetId()A unique identifier for the container fleet.StringgameServerBinaryArn()The unique identifier for the version of the game server container group definition that is being deployed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringperInstanceBinaryArn()The unique identifier for the version of the per-instance container group definition that is being deployed.StringrollbackGameServerBinaryArn()The unique identifier for the version of the game server container group definition to roll back to if deployment fails.StringrollbackPerInstanceBinaryArn()The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FleetDeployment.Builder>serializableBuilderClass()FleetDeployment.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
deploymentId
public final String deploymentId()
A unique identifier for the deployment.
- Returns:
- A unique identifier for the deployment.
-
fleetId
public final String fleetId()
A unique identifier for the container fleet.
- Returns:
- A unique identifier for the container fleet.
-
gameServerBinaryArn
public final String gameServerBinaryArn()
The unique identifier for the version of the game server container group definition that is being deployed.
- Returns:
- The unique identifier for the version of the game server container group definition that is being deployed.
-
rollbackGameServerBinaryArn
public final 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.
- Returns:
- 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.
-
perInstanceBinaryArn
public final String perInstanceBinaryArn()
The unique identifier for the version of the per-instance container group definition that is being deployed.
- Returns:
- The unique identifier for the version of the per-instance container group definition that is being deployed.
-
rollbackPerInstanceBinaryArn
public final 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.
- Returns:
- 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.
-
deploymentStatus
public final 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.
If the service returns an enum value that is not available in the current SDK version,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- 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.
-
- See Also:
DeploymentStatus
-
-
deploymentStatusAsString
public final String deploymentStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
deploymentStatuswill returnDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentStatusAsString().- Returns:
- 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.
-
- See Also:
DeploymentStatus
-
-
deploymentConfiguration
public final DeploymentConfiguration deploymentConfiguration()
Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.
- Returns:
- Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.
-
creationTime
public final 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").- Returns:
- A time stamp indicating when this data object was created. Format is a number expressed in Unix time as
milliseconds (for example
"1469498468.057").
-
toBuilder
public FleetDeployment.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FleetDeployment.Builder,FleetDeployment>
-
builder
public static FleetDeployment.Builder builder()
-
serializableBuilderClass
public static Class<? extends FleetDeployment.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-