@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateMapRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateMapRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateMapRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateMapRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateMapRequest |
clone() |
boolean |
equals(Object obj) |
MapConfiguration |
getConfiguration()
Specifies the map style selected from an available data provider.
|
String |
getDescription()
An optional description for the map resource.
|
String |
getMapName()
The name for the map resource.
|
String |
getPricingPlan()
Deprecated.
|
Map<String,String> |
getTags()
Applies one or more tags to the map resource.
|
int |
hashCode() |
void |
setConfiguration(MapConfiguration configuration)
Specifies the map style selected from an available data provider.
|
void |
setDescription(String description)
An optional description for the map resource.
|
void |
setMapName(String mapName)
The name for the map resource.
|
void |
setPricingPlan(String pricingPlan)
Deprecated.
|
void |
setTags(Map<String,String> tags)
Applies one or more tags to the map resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateMapRequest |
withConfiguration(MapConfiguration configuration)
Specifies the map style selected from an available data provider.
|
CreateMapRequest |
withDescription(String description)
An optional description for the map resource.
|
CreateMapRequest |
withMapName(String mapName)
The name for the map resource.
|
CreateMapRequest |
withPricingPlan(PricingPlan pricingPlan)
Deprecated.
|
CreateMapRequest |
withPricingPlan(String pricingPlan)
Deprecated.
|
CreateMapRequest |
withTags(Map<String,String> tags)
Applies one or more tags to the map resource.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setConfiguration(MapConfiguration configuration)
Specifies the map style selected from an available data provider.
configuration - Specifies the map style selected from an available data provider.public MapConfiguration getConfiguration()
Specifies the map style selected from an available data provider.
public CreateMapRequest withConfiguration(MapConfiguration configuration)
Specifies the map style selected from an available data provider.
configuration - Specifies the map style selected from an available data provider.public void setDescription(String description)
An optional description for the map resource.
description - An optional description for the map resource.public String getDescription()
An optional description for the map resource.
public CreateMapRequest withDescription(String description)
An optional description for the map resource.
description - An optional description for the map resource.public void setMapName(String mapName)
The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap.
mapName - The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap.
public String getMapName()
The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap.
public CreateMapRequest withMapName(String mapName)
The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap.
mapName - The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap.
@Deprecated public void setPricingPlan(String pricingPlan)
No longer used. If included, the only allowed value is RequestBasedUsage.
pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.PricingPlan@Deprecated public String getPricingPlan()
No longer used. If included, the only allowed value is RequestBasedUsage.
RequestBasedUsage.PricingPlan@Deprecated public CreateMapRequest withPricingPlan(String pricingPlan)
No longer used. If included, the only allowed value is RequestBasedUsage.
pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.PricingPlan@Deprecated public CreateMapRequest withPricingPlan(PricingPlan pricingPlan)
No longer used. If included, the only allowed value is RequestBasedUsage.
pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage.PricingPlanpublic Map<String,String> getTags()
Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public void setTags(Map<String,String> tags)
Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
tags - Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search,
and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public CreateMapRequest withTags(Map<String,String> tags)
Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search, and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
tags - Applies one or more tags to the map resource. A tag is a key-value pair helps manage, identify, search,
and filter your resources by labelling them.
Format: "key" : "value"
Restrictions:
Maximum 50 tags per resource
Each resource tag must be unique with a maximum of one value.
Maximum key length: 128 Unicode characters in UTF-8
Maximum value length: 256 Unicode characters in UTF-8
Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @.
Cannot use "aws:" as a prefix for a key.
public CreateMapRequest addTagsEntry(String key, String value)
public CreateMapRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateMapRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.