Class FleetDeployment

    • 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.

        Returns:
        The unique identifier for the version of the game server container group definition to roll back to if deployment fails.
      • 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.

        Returns:
        The unique identifier for the version of the per-instance container group definition to roll back to if deployment fails.
      • 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, deploymentStatus will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from deploymentStatusAsString().

        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, deploymentStatus will return DeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from deploymentStatusAsString().

        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").
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)