Class FleetDeployment
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<FleetDeployment.Builder,
FleetDeployment>
Describes a container fleet deployment with updates to the fleet.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FleetDeployment.Builder
builder()
final Instant
A time stamp indicating when this data object was created.final DeploymentConfiguration
Instructions for how to deploy updates to a container fleet and what actions to take if the deployment fails.final String
A unique identifier for the deployment.final DeploymentStatus
The status of fleet deployment activity in the location.final String
The status of fleet deployment activity in the location.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
fleetId()
A unique identifier for the container fleet.final String
The unique identifier for the version of the game server container group definition that is being deployed.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The unique identifier for the version of the per-instance container group definition that is being deployed.final String
The unique identifier for the version of the game server container group definition to roll back to if deployment fails.final String
The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails.static Class
<? extends FleetDeployment.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
deploymentId
A unique identifier for the deployment.
- Returns:
- A unique identifier for the deployment.
-
fleetId
A unique identifier for the container fleet.
- Returns:
- A unique identifier for the container fleet.
-
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
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:
- 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.
-
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
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:
- 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.
-
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,
deploymentStatus
will 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:
-
-
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,
deploymentStatus
will 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:
-
-
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
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
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<FleetDeployment.Builder,
FleetDeployment> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-