Interface CreateMapRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMapRequest.Builder,CreateMapRequest>,LocationRequest.Builder,SdkBuilder<CreateMapRequest.Builder,CreateMapRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateMapRequest
public static interface CreateMapRequest.Builder extends LocationRequest.Builder, SdkPojo, CopyableBuilder<CreateMapRequest.Builder,CreateMapRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default CreateMapRequest.Builderconfiguration(Consumer<MapConfiguration.Builder> configuration)Specifies theMapConfiguration, including the map style, for the map resource that you create.CreateMapRequest.Builderconfiguration(MapConfiguration configuration)Specifies theMapConfiguration, including the map style, for the map resource that you create.CreateMapRequest.Builderdescription(String description)An optional description for the map resource.CreateMapRequest.BuildermapName(String mapName)The name for the map resource.CreateMapRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateMapRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateMapRequest.BuilderpricingPlan(String pricingPlan)Deprecated.Deprecated.CreateMapRequest.BuilderpricingPlan(PricingPlan pricingPlan)Deprecated.Deprecated.CreateMapRequest.Buildertags(Map<String,String> tags)Applies one or more tags to the map resource.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.location.model.LocationRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
mapName
CreateMapRequest.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.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:
- Returns a reference to this object so that method calls can be chained together.
-
-
configuration
CreateMapRequest.Builder configuration(MapConfiguration 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 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:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default CreateMapRequest.Builder configuration(Consumer<MapConfiguration.Builder> configuration)
Specifies the
This is a convenience method that creates an instance of 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.MapConfiguration.Builderavoiding the need to create one manually viaMapConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(MapConfiguration).- Parameters:
configuration- a consumer that will call methods onMapConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(MapConfiguration)
-
pricingPlan
@Deprecated CreateMapRequest.Builder pricingPlan(String pricingPlan)
Deprecated.Deprecated. If included, the only allowed value is RequestBasedUsage.No longer used. If included, the only allowed value is
RequestBasedUsage.- Parameters:
pricingPlan- No longer used. If included, the only allowed value isRequestBasedUsage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PricingPlan,PricingPlan
-
pricingPlan
@Deprecated CreateMapRequest.Builder pricingPlan(PricingPlan pricingPlan)
Deprecated.Deprecated. If included, the only allowed value is RequestBasedUsage.No longer used. If included, the only allowed value is
RequestBasedUsage.- Parameters:
pricingPlan- No longer used. If included, the only allowed value isRequestBasedUsage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PricingPlan,PricingPlan
-
description
CreateMapRequest.Builder description(String description)
An optional description for the map resource.
- Parameters:
description- An optional description for the map resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateMapRequest.Builder tags(Map<String,String> 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: + - = . _ : / @.
-
Cannot use "aws:" as a prefix for a key.
- 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: + - = . _ : / @.
-
Cannot use "aws:" as a prefix for a key.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
CreateMapRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMapRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-