@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLocationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateLocationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateLocationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLocationName()
A descriptive name for the custom location.
|
List<Tag> |
getTags()
A list of labels to assign to the new matchmaking configuration resource.
|
int |
hashCode() |
void |
setLocationName(String locationName)
A descriptive name for the custom location.
|
void |
setTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking configuration resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateLocationRequest |
withLocationName(String locationName)
A descriptive name for the custom location.
|
CreateLocationRequest |
withTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking configuration resource.
|
CreateLocationRequest |
withTags(Tag... tags)
A list of labels to assign to the new matchmaking configuration 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 setLocationName(String locationName)
A descriptive name for the custom location.
locationName
- A descriptive name for the custom location.public String getLocationName()
A descriptive name for the custom location.
public CreateLocationRequest withLocationName(String locationName)
A descriptive name for the custom location.
locationName
- A descriptive name for the custom location.public List<Tag> getTags()
A list of labels to assign to the new matchmaking configuration 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 Rareference.
public void setTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking configuration 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 Rareference.
tags
- A list of labels to assign to the new matchmaking configuration 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 Rareference.public CreateLocationRequest withTags(Tag... tags)
A list of labels to assign to the new matchmaking configuration 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 Rareference.
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 configuration 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 Rareference.public CreateLocationRequest withTags(Collection<Tag> tags)
A list of labels to assign to the new matchmaking configuration 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 Rareference.
tags
- A list of labels to assign to the new matchmaking configuration 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 Rareference.public String toString()
toString
in class Object
Object.toString()
public CreateLocationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()