@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceptMatchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request action.
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()
Unique identifier for a player delivering the response.
|
String |
getTicketId()
Unique identifier for a matchmaking ticket.
|
int |
hashCode() |
void |
setAcceptanceType(String acceptanceType)
Player response to the proposed match.
|
void |
setPlayerIds(Collection<String> playerIds)
Unique identifier for a player delivering the response.
|
void |
setTicketId(String ticketId)
Unique identifier for a matchmaking ticket.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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)
Unique identifier for a player delivering the response.
|
AcceptMatchRequest |
withPlayerIds(String... playerIds)
Unique identifier for a player delivering the response.
|
AcceptMatchRequest |
withTicketId(String ticketId)
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 void setTicketId(String ticketId)
Unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE
;
otherwise this request will fail.
ticketId
- Unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE
;
otherwise this request will fail.public String getTicketId()
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)
Unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE
;
otherwise this request will fail.
ticketId
- Unique identifier for a matchmaking ticket. The ticket must be in status REQUIRES_ACCEPTANCE
;
otherwise this request will fail.public List<String> getPlayerIds()
Unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
public void setPlayerIds(Collection<String> playerIds)
Unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
playerIds
- Unique identifier for a player delivering the response. This parameter can include one or multiple player
IDs.public AcceptMatchRequest withPlayerIds(String... playerIds)
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
- Unique identifier for a player delivering the response. This parameter can include one or multiple player
IDs.public AcceptMatchRequest withPlayerIds(Collection<String> playerIds)
Unique identifier for a player delivering the response. This parameter can include one or multiple player IDs.
playerIds
- 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.