Interface CreateKeyValueStoreResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudFrontResponse.Builder,CopyableBuilder<CreateKeyValueStoreResponse.Builder,,CreateKeyValueStoreResponse> SdkBuilder<CreateKeyValueStoreResponse.Builder,,CreateKeyValueStoreResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateKeyValueStoreResponse
public static interface CreateKeyValueStoreResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<CreateKeyValueStoreResponse.Builder,CreateKeyValueStoreResponse>
-
Method Summary
Modifier and TypeMethodDescriptionTheETagin the resulting key value store.keyValueStore(Consumer<KeyValueStore.Builder> keyValueStore) The resulting key value store.keyValueStore(KeyValueStore keyValueStore) The resulting key value store.The location of the resulting key value store.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
keyValueStore
The resulting key value store.
- Parameters:
keyValueStore- The resulting key value store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyValueStore
default CreateKeyValueStoreResponse.Builder keyValueStore(Consumer<KeyValueStore.Builder> keyValueStore) The resulting key value store.
This is a convenience method that creates an instance of theKeyValueStore.Builderavoiding the need to create one manually viaKeyValueStore.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyValueStore(KeyValueStore).- Parameters:
keyValueStore- a consumer that will call methods onKeyValueStore.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eTag
The
ETagin the resulting key value store.- Parameters:
eTag- TheETagin the resulting key value store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location of the resulting key value store.
- Parameters:
location- The location of the resulting key value store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-