Class CfnMap.Builder
java.lang.Object
software.amazon.awscdk.services.location.CfnMap.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMap>
- Enclosing class:
- CfnMap
@Stability(Stable)
public static final class CfnMap.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMap>
A fluent builder for
CfnMap
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configuration
(IResolvable configuration) Specifies theMapConfiguration
, including the map style, for the map resource that you create.configuration
(CfnMap.MapConfigurationProperty configuration) Specifies theMapConfiguration
, including the map style, for the map resource that you create.static CfnMap.Builder
description
(String description) An optional description for the map resource.The name for the map resource.pricingPlan
(String pricingPlan) No longer used.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnMap.Builder
.
-
configuration
@Stability(Stable) public CfnMap.Builder configuration(CfnMap.MapConfigurationProperty configuration) Specifies theMapConfiguration
, 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.
- Parameters:
configuration
- Specifies theMapConfiguration
, including the map style, for the map resource that you create. This parameter is required.- Returns:
this
-
configuration
Specifies theMapConfiguration
, 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.
- Parameters:
configuration
- Specifies theMapConfiguration
, including the map style, for the map resource that you create. This parameter is required.- Returns:
this
-
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
.
- Parameters:
mapName
- The name for the map resource. This parameter is required.- Returns:
this
-
description
An optional description for the map resource.- Parameters:
description
- An optional description for the map resource. This parameter is required.- Returns:
this
-
pricingPlan
No longer used. If included, the only allowed value isRequestBasedUsage
.Allowed Values :
RequestBasedUsage
- Parameters:
pricingPlan
- No longer used. If included, the only allowed value isRequestBasedUsage
. This parameter is required.- Returns:
this
-
build
-