Class CfnMapMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.location.CfnMapMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMapMixinProps>
- Enclosing interface:
CfnMapMixinProps
@Stability(Stable)
public static final class CfnMapMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMapMixinProps>
A builder for
CfnMapMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuration(CfnMapPropsMixin.MapConfigurationProperty configuration) Sets the value ofCfnMapMixinProps.getConfiguration()configuration(IResolvable configuration) Sets the value ofCfnMapMixinProps.getConfiguration()description(String description) Sets the value ofCfnMapMixinProps.getDescription()Sets the value ofCfnMapMixinProps.getMapName()pricingPlan(String pricingPlan) Sets the value ofCfnMapMixinProps.getPricingPlan()Sets the value ofCfnMapMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuration
Sets the value ofCfnMapMixinProps.getConfiguration()- Parameters:
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.- Returns:
this
-
configuration
@Stability(Stable) public CfnMapMixinProps.Builder configuration(CfnMapPropsMixin.MapConfigurationProperty configuration) Sets the value ofCfnMapMixinProps.getConfiguration()- Parameters:
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.- Returns:
this
-
description
Sets the value ofCfnMapMixinProps.getDescription()- Parameters:
description- An optional description for the map resource.- Returns:
this
-
mapName
Sets the value ofCfnMapMixinProps.getMapName()- Parameters:
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.
- Returns:
this
-
pricingPlan
Sets the value ofCfnMapMixinProps.getPricingPlan()- Parameters:
pricingPlan- No longer used. If included, the only allowed value isRequestBasedUsage. Allowed Values :RequestBasedUsage- Returns:
this
-
tags
Sets the value ofCfnMapMixinProps.getTags()- Parameters:
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: + - = . _ : /
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMapMixinProps>- Returns:
- a new instance of
CfnMapMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-