JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.gamelift.model

Class LocationState

  • All Implemented Interfaces:
    StructuredPojo, Serializable, Cloneable


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class LocationState
    extends Object
    implements Serializable, Cloneable, StructuredPojo 

    A fleet location and its life-cycle state. A location state object might be used to describe a fleet's remote location or home Region. Life-cycle state tracks the progress of launching the first instance in a new location and preparing it for game hosting, and then removing all instances and deleting the location from the fleet.

    • NEW -- A new fleet location has been defined and desired instances is set to 1.

    • DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is setting up the new fleet location, creating new instances with the game build or Realtime script and starting server processes.

    • ACTIVE -- Hosts can now accept game sessions.

    • ERROR -- An error occurred when downloading, validating, building, or activating the fleet location.

    • DELETING -- Hosts are responding to a delete fleet location request.

    • TERMINATED -- The fleet location no longer exists.

    • NOT_FOUND -- The fleet location was not found. This could be because the custom location was removed or not created.

    See Also:
    AWS API Documentation, Serialized Form
    • Constructor Detail

      • LocationState

        public LocationState()
    • Method Detail

      • setLocation

        public void setLocation(String location)

        The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.

        Parameters:
        location - The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.
      • getLocation

        public String getLocation()

        The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.

        Returns:
        The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.
      • withLocation

        public LocationState withLocation(String location)

        The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.

        Parameters:
        location - The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus(String status)

        The life-cycle status of a fleet location.

        Parameters:
        status - The life-cycle status of a fleet location.
        See Also:
        FleetStatus
      • getStatus

        public String getStatus()

        The life-cycle status of a fleet location.

        Returns:
        The life-cycle status of a fleet location.
        See Also:
        FleetStatus
      • withStatus

        public LocationState withStatus(String status)

        The life-cycle status of a fleet location.

        Parameters:
        status - The life-cycle status of a fleet location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FleetStatus
      • withStatus

        public LocationState withStatus(FleetStatus status)

        The life-cycle status of a fleet location.

        Parameters:
        status - The life-cycle status of a fleet location.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FleetStatus
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /