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 Details

    • create

      @Stability(Stable) public static CfnMap.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnMap.Builder.
    • configuration

      @Stability(Stable) public CfnMap.Builder configuration(CfnMap.MapConfigurationProperty 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.

      Parameters:
      configuration - Specifies the MapConfiguration , including the map style, for the map resource that you create. This parameter is required.
      Returns:
      this
    • configuration

      @Stability(Stable) public CfnMap.Builder configuration(IResolvable 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.

      Parameters:
      configuration - Specifies the MapConfiguration , including the map style, for the map resource that you create. This parameter is required.
      Returns:
      this
    • mapName

      @Stability(Stable) public CfnMap.Builder mapName(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 .

      Parameters:
      mapName - The name for the map resource. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnMap.Builder description(String description)
      An optional description for the map resource.

      Parameters:
      description - An optional description for the map resource. This parameter is required.
      Returns:
      this
    • pricingPlan

      @Stability(Stable) public CfnMap.Builder pricingPlan(String pricingPlan)
      No longer used. If included, the only allowed value is RequestBasedUsage .

      Allowed Values : RequestBasedUsage

      Parameters:
      pricingPlan - No longer used. If included, the only allowed value is RequestBasedUsage . This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnMap build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnMap>
      Returns:
      a newly built instance of CfnMap.