@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptMatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP | Constructor and Description |
|---|
AcceptMatchRequest () |
| Modifier and Type | Method and Description |
|---|---|
AcceptMatchRequest |
clone ()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals (Object obj) |
String |
getAcceptanceType ()
Player response to the proposed match.
|
List<String> |
getPlayerIds ()
A unique identifier for a player delivering the response.
|
String |
getTicketId ()
A unique identifier for a matchmaking ticket.
|
int |
hashCode () |
void |
setAcceptanceType (String acceptanceType)
Player response to the proposed match.
|
void |
setPlayerIds (Collection<String> playerIds)
A unique identifier for a player delivering the response.
|
void |
setTicketId (String ticketId)
A unique identifier for a matchmaking ticket.
|
String |
toString ()
Returns a string representation of this object.
|
AcceptMatchRequest |
withAcceptanceType (AcceptanceType acceptanceType)
Player response to the proposed match.
|
AcceptMatchRequest |
withAcceptanceType (String acceptanceType)
Player response to the proposed match.
|
AcceptMatchRequest |
withPlayerIds (Collection<String> playerIds)
A unique identifier for a player delivering the response.
|
AcceptMatchRequest |
withPlayerIds (String... playerIds)
A unique identifier for a player delivering the response.
|
AcceptMatchRequest |
withTicketId (String ticketId)
A unique identifier for a matchmaking ticket.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout public AcceptMatchRequest()
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.
ticketId - A unique identifier for a matchmaking ticket. The ticket must be in status
REQUIRES_ACCEPTANCE; otherwise this request will fail.public String getTicketId()
A unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE;
otherwise this request will fail.
REQUIRES_ACCEPTANCE; otherwise this request will fail.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.
ticketId - A unique identifier for a matchmaking ticket. The ticket must be in status
REQUIRES_ACCEPTANCE; otherwise this request will fail.public List<String> getPlayerIds()
A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
public void setPlayerIds(Collection<String> playerIds)
A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
playerIds - A unique identifier for a player delivering the response. This parameter can include one or multiple
player IDs.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.
playerIds - A unique identifier for a player delivering the response. This parameter can include one or multiple
player IDs.public AcceptMatchRequest withPlayerIds(Collection<String> playerIds)
A unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
playerIds - A unique identifier for a player delivering the response. This parameter can include one or multiple
player IDs.public void setAcceptanceType(String acceptanceType)
Player response to the proposed match.
acceptanceType - Player response to the proposed match.AcceptanceType public String getAcceptanceType()
Player response to the proposed match.
AcceptanceType public AcceptMatchRequest withAcceptanceType(String acceptanceType)
Player response to the proposed match.
acceptanceType - Player response to the proposed match.AcceptanceType public AcceptMatchRequest withAcceptanceType(AcceptanceType acceptanceType)
Player response to the proposed match.
acceptanceType - Player response to the proposed match.AcceptanceType public String toString()
toString in class Object Object.toString() public AcceptMatchRequest clone()
AmazonWebServiceRequest clone in class AmazonWebServiceRequest Object.clone()