Interface UpdatePlaceIndexRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePlaceIndexRequest.Builder,
,UpdatePlaceIndexRequest> LocationRequest.Builder
,SdkBuilder<UpdatePlaceIndexRequest.Builder,
,UpdatePlaceIndexRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePlaceIndexRequest
public static interface UpdatePlaceIndexRequest.Builder
extends LocationRequest.Builder, SdkPojo, CopyableBuilder<UpdatePlaceIndexRequest.Builder,UpdatePlaceIndexRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatePlaceIndexRequest.Builder
dataSourceConfiguration
(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration) Updates the data storage option for the place index resource.dataSourceConfiguration
(DataSourceConfiguration dataSourceConfiguration) Updates the data storage option for the place index resource.description
(String description) Updates the description for the place index resource.The name of the place index resource to update.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.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
-
dataSourceConfiguration
UpdatePlaceIndexRequest.Builder dataSourceConfiguration(DataSourceConfiguration dataSourceConfiguration) Updates the data storage option for the place index resource.
- Parameters:
dataSourceConfiguration
- Updates the data storage option for the place index resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceConfiguration
default UpdatePlaceIndexRequest.Builder dataSourceConfiguration(Consumer<DataSourceConfiguration.Builder> dataSourceConfiguration) Updates the data storage option for the place index resource.
This is a convenience method that creates an instance of theDataSourceConfiguration.Builder
avoiding the need to create one manually viaDataSourceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSourceConfiguration(DataSourceConfiguration)
.- Parameters:
dataSourceConfiguration
- a consumer that will call methods onDataSourceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
Updates the description for the place index resource.
- Parameters:
description
- Updates the description for the place index resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The name of the place index resource to update.
- Parameters:
indexName
- The name of the place index resource to update.- 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:
-
overrideConfiguration
UpdatePlaceIndexRequest.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
UpdatePlaceIndexRequest.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.
-