@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMatchmakingRuleSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for a request operation.
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 a 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 a 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 a 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 a 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 a 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 a 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 a 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 a 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 AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
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 AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
tags
- A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value
pairs. Tagging AWS resources are useful for resource management, access management and cost allocation.
For more information, see
Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use
TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags.
The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.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 AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
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 AWS resources are useful for resource management, access management and cost allocation.
For more information, see
Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use
TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags.
The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.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 AWS resources are useful for resource management, access management and cost allocation. For more information, see Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.
tags
- A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value
pairs. Tagging AWS resources are useful for resource management, access management and cost allocation.
For more information, see
Tagging AWS Resources in the AWS General Reference. Once the resource is created, you can use
TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags.
The maximum tag limit may be lower than stated. See the AWS General Reference for actual tagging limits.public String toString()
toString
in class Object
Object.toString()
public CreateMatchmakingRuleSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()