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 AcceptMatchRequest

    • Constructor Detail

      • AcceptMatchRequest

        public AcceptMatchRequest()
    • Method Detail

      • setTicketId

        public void setTicketId(String ticketId)

        A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.

        Parameters:
        ticketId - A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.
      • getTicketId

        public String getTicketId()

        A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.

        Returns:
        A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.
      • withTicketId

        public AcceptMatchRequest withTicketId(String ticketId)

        A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.

        Parameters:
        ticketId - A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE; otherwise this request will fail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getPlayerIds

        public List<String> getPlayerIds()

        A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.

        Returns:
        A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
      • setPlayerIds

        public void setPlayerIds(Collection<String> playerIds)

        A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.

        Parameters:
        playerIds - A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
      • withPlayerIds

        public AcceptMatchRequest withPlayerIds(String... playerIds)

        A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.

        NOTE: This method appends the values to the existing list (if any). Use setPlayerIds(java.util.Collection) or withPlayerIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        playerIds - A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withPlayerIds

        public AcceptMatchRequest withPlayerIds(Collection<String> playerIds)

        A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.

        Parameters:
        playerIds - A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAcceptanceType

        public void setAcceptanceType(String acceptanceType)

        Player response to the proposed match.

        Parameters:
        acceptanceType - Player response to the proposed match.
        See Also:
        AcceptanceType
      • getAcceptanceType

        public String getAcceptanceType()

        Player response to the proposed match.

        Returns:
        Player response to the proposed match.
        See Also:
        AcceptanceType
      • withAcceptanceType

        public AcceptMatchRequest withAcceptanceType(String acceptanceType)

        Player response to the proposed match.

        Parameters:
        acceptanceType - Player response to the proposed match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptanceType
      • withAcceptanceType

        public AcceptMatchRequest withAcceptanceType(AcceptanceType acceptanceType)

        Player response to the proposed match.

        Parameters:
        acceptanceType - Player response to the proposed match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AcceptanceType
      • 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 によって変換されたページ (->オリジナル) /