@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
MapConfiguration |
getConfiguration()
Specifies the
MapConfiguration , including the map style, for the map resource that you create. |
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
MapConfiguration , including the map style, for the map resource that you create. |
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
MapConfiguration , including the map style, for the map resource that you create. |
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, 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 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
.
public void setConfiguration(MapConfiguration configuration)
Specifies the MapConfiguration
, including the map style, for the map resource that you create. The
map style defines the look of maps and the data provider for your map resource.
configuration
- Specifies the MapConfiguration
, including the map style, for the map resource that you
create. The map style defines the look of maps and the data provider for your map resource.public MapConfiguration getConfiguration()
Specifies the MapConfiguration
, including the map style, for the map resource that you create. The
map style defines the look of maps and the data provider for your map resource.
MapConfiguration
, including the map style, for the map resource that you
create. The map style defines the look of maps and the data provider for your map resource.public CreateMapRequest withConfiguration(MapConfiguration configuration)
Specifies the MapConfiguration
, including the map style, for the map resource that you create. The
map style defines the look of maps and the data provider for your map resource.
configuration
- Specifies the MapConfiguration
, including the map style, for the map resource that you
create. The map style defines the look of maps and the data provider for your map resource.@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
.PricingPlan
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 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 Object
Object.toString()
public CreateMapRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()