Interface CreateKeyValueStoreRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudFrontRequest.Builder,CopyableBuilder<CreateKeyValueStoreRequest.Builder,,CreateKeyValueStoreRequest> SdkBuilder<CreateKeyValueStoreRequest.Builder,,CreateKeyValueStoreRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateKeyValueStoreRequest
public static interface CreateKeyValueStoreRequest.Builder
extends CloudFrontRequest.Builder, SdkPojo, CopyableBuilder<CreateKeyValueStoreRequest.Builder,CreateKeyValueStoreRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe comment of the key value store.importSource(Consumer<ImportSource.Builder> importSource) The S3 bucket that provides the source for the import.importSource(ImportSource importSource) The S3 bucket that provides the source for the import.The name of the key value store.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.
- Parameters:
name- The name of the key value store. The minimum length is 1 character and the maximum length is 64 characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
comment
The comment of the key value store.
- Parameters:
comment- The comment of the key value store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSource
The S3 bucket that provides the source for the import. The source must be in a valid JSON format.
- Parameters:
importSource- The S3 bucket that provides the source for the import. The source must be in a valid JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importSource
default CreateKeyValueStoreRequest.Builder importSource(Consumer<ImportSource.Builder> importSource) The S3 bucket that provides the source for the import. The source must be in a valid JSON format.
This is a convenience method that creates an instance of theImportSource.Builderavoiding the need to create one manually viaImportSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportSource(ImportSource).- Parameters:
importSource- a consumer that will call methods onImportSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateKeyValueStoreRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateKeyValueStoreRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-