public class CreateMapRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a map resource in your AWS account, which provides map tiles of different styles sourced from global location data providers.
By using Maps, you agree that AWS may transmit your API queries to your selected third party provider for processing, which may be outside the AWS region you are currently using. For more information, see the AWS Service Terms for Amazon Location Service.
Constructor and Description |
---|
CreateMapRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
MapConfiguration |
getConfiguration()
Specifies the map style selected from an available data provider.
|
java.lang.String |
getDescription()
An optional description for the map resource.
|
java.lang.String |
getMapName()
The name for the map resource.
|
java.lang.String |
getPricingPlan()
Specifies the pricing plan for your map resource.
|
int |
hashCode() |
void |
setConfiguration(MapConfiguration configuration)
Specifies the map style selected from an available data provider.
|
void |
setDescription(java.lang.String description)
An optional description for the map resource.
|
void |
setMapName(java.lang.String mapName)
The name for the map resource.
|
void |
setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your map resource.
|
void |
setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your map resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateMapRequest |
withConfiguration(MapConfiguration configuration)
Specifies the map style selected from an available data provider.
|
CreateMapRequest |
withDescription(java.lang.String description)
An optional description for the map resource.
|
CreateMapRequest |
withMapName(java.lang.String mapName)
The name for the map resource.
|
CreateMapRequest |
withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your map resource.
|
CreateMapRequest |
withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your map resource.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public MapConfiguration getConfiguration()
Specifies the map style selected from an available data provider.
Specifies the map style selected from an available data provider.
public 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 CreateMapRequest withConfiguration(MapConfiguration configuration)
Specifies the map style selected from an available data provider.
Returns a reference to this object so that method calls can be chained together.
configuration
- Specifies the map style selected from an available data provider.
public java.lang.String getDescription()
An optional description for the map resource.
Constraints:
Length: 0 - 1000
An optional description for the map resource.
public void setDescription(java.lang.String description)
An optional description for the map resource.
Constraints:
Length: 0 - 1000
description
- An optional description for the map resource.
public CreateMapRequest withDescription(java.lang.String description)
An optional description for the map resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1000
description
- An optional description for the map resource.
public java.lang.String getMapName()
The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap
.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap
.
public void setMapName(java.lang.String mapName)
The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap
.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
mapName
- The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap
.
public CreateMapRequest withMapName(java.lang.String mapName)
The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
Pattern: ^[-._\w]+$
mapName
- The name for the map resource.
Requirements:
Must contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), and underscores (_).
Must be a unique map resource name.
No spaces allowed. For example, ExampleMap
.
public java.lang.String getPricingPlan()
Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking
— Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking
— Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public void setPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking
— Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan
- Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking
— Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public CreateMapRequest withPricingPlan(java.lang.String pricingPlan)
Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking
— Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan
- Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking
— Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public void setPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking
— Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan
- Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking
— Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public CreateMapRequest withPricingPlan(PricingPlan pricingPlan)
Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the "Request-Based Usage"
pricing plan.
MobileAssetTracking
— Selects the "Mobile Asset Tracking"
pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: RequestBasedUsage, MobileAssetTracking,
MobileAssetManagement
pricingPlan
- Specifies the pricing plan for your map resource. There's three pricing plan options:
RequestBasedUsage
— Selects the
"Request-Based Usage" pricing plan.
MobileAssetTracking
— Selects the
"Mobile Asset Tracking" pricing plan.
MobileAssetManagement
— Selects the
"Mobile Asset Management" pricing plan.
For additional details and restrictions on each pricing plan option, see the Amazon Location Service pricing page.
PricingPlan
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.