Interface CreateGeofenceCollectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateGeofenceCollectionRequest.Builder,
,CreateGeofenceCollectionRequest> LocationRequest.Builder
,SdkBuilder<CreateGeofenceCollectionRequest.Builder,
,CreateGeofenceCollectionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateGeofenceCollectionRequest
-
Method Summary
Modifier and TypeMethodDescriptioncollectionName
(String collectionName) A custom name for the geofence collection.description
(String description) An optional description for the geofence collection.A key identifier for an Amazon Web Services KMS customer managed key.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pricingPlan
(String pricingPlan) Deprecated.Deprecated.pricingPlan
(PricingPlan pricingPlan) Deprecated.Deprecated.pricingPlanDataSource
(String pricingPlanDataSource) Deprecated.Deprecated.Applies one or more tags to the geofence collection.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 Details
-
collectionName
A custom name for the geofence collection.
Requirements:
-
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
-
Must be a unique geofence collection name.
-
No spaces allowed. For example,
ExampleGeofenceCollection
.
- Parameters:
collectionName
- A custom name for the geofence collection.Requirements:
-
Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
-
Must be a unique geofence collection name.
-
No spaces allowed. For example,
ExampleGeofenceCollection
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
description
An optional description for the geofence collection.
- Parameters:
description
- An optional description for the geofence collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.
- Parameters:
kmsKeyId
- A key identifier for an Amazon Web Services KMS customer managed key. Enter a key ID, key ARN, alias name, or alias ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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:
-
pricingPlanDataSource
@Deprecated CreateGeofenceCollectionRequest.Builder pricingPlanDataSource(String pricingPlanDataSource) Deprecated.Deprecated. No longer allowed.This parameter is no longer used.
- Parameters:
pricingPlanDataSource
- This parameter is no longer used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Applies one or more tags to the geofence collection. 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 geofence collection. 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
CreateGeofenceCollectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateGeofenceCollectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-