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.Applies one or more tags to the map resource.
-
Method Details
-
create
@Stability(Stable) public static CfnMap.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnMap.Builder
.
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
description
An optional description for the map resource.- Parameters:
description
- An optional description for the map resource. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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: + - = . _ : /
- Parameters:
tags
- Applies one or more tags to the map resource. This parameter is required.- Returns:
this
- See Also:
-
build
-