@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMatchmakingRuleSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateMatchmakingRuleSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateMatchmakingRuleSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
A unique identifier for the matchmaking rule set.
|
String |
getRuleSetBody()
A collection of matchmaking rules, formatted as a JSON string.
|
List<Tag> |
getTags()
A list of labels to assign to the new matchmaking rule set resource.
|
int |
hashCode() |
void |
setName(String name)
A unique identifier for the matchmaking rule set.
|
void |
setRuleSetBody(String ruleSetBody)
A collection of matchmaking rules, formatted as a JSON string.
|
void |
setTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking rule set resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateMatchmakingRuleSetRequest |
withName(String name)
A unique identifier for the matchmaking rule set.
|
CreateMatchmakingRuleSetRequest |
withRuleSetBody(String ruleSetBody)
A collection of matchmaking rules, formatted as a JSON string.
|
CreateMatchmakingRuleSetRequest |
withTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking rule set resource.
|
CreateMatchmakingRuleSetRequest |
withTags(Tag... tags)
A list of labels to assign to the new matchmaking rule set resource.
|
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 setName(String name)
A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it uses by
this name value. Note that the rule set name is different from the optional name
field in the rule
set body.
name
- A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it
uses by this name value. Note that the rule set name is different from the optional name
field in the rule set body.public String getName()
A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it uses by
this name value. Note that the rule set name is different from the optional name
field in the rule
set body.
name
field in the rule set body.public CreateMatchmakingRuleSetRequest withName(String name)
A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it uses by
this name value. Note that the rule set name is different from the optional name
field in the rule
set body.
name
- A unique identifier for the matchmaking rule set. A matchmaking configuration identifies the rule set it
uses by this name value. Note that the rule set name is different from the optional name
field in the rule set body.public void setRuleSetBody(String ruleSetBody)
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
ruleSetBody
- A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most
elements support a description field.public String getRuleSetBody()
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
public CreateMatchmakingRuleSetRequest withRuleSetBody(String ruleSetBody)
A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most elements support a description field.
ruleSetBody
- A collection of matchmaking rules, formatted as a JSON string. Comments are not allowed in JSON, but most
elements support a description field.public List<Tag> getTags()
A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
public void setTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
tags
- A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value
pairs. Tagging Amazon Web Services resources are useful for resource management, access management and
cost allocation. For more information, see Tagging Amazon Web Services
Resources in the Amazon Web Services General Reference.public CreateMatchmakingRuleSetRequest withTags(Tag... tags)
A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value
pairs. Tagging Amazon Web Services resources are useful for resource management, access management and
cost allocation. For more information, see Tagging Amazon Web Services
Resources in the Amazon Web Services General Reference.public CreateMatchmakingRuleSetRequest withTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.
tags
- A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value
pairs. Tagging Amazon Web Services resources are useful for resource management, access management and
cost allocation. For more information, see Tagging Amazon Web Services
Resources in the Amazon Web Services General Reference.public String toString()
toString
in class Object
Object.toString()
public CreateMatchmakingRuleSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()