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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateKeyValueStoreResponse.Builder
eTag(String eTag)
The ETag in the resulting Key Value Store.default CreateKeyValueStoreResponse.Builder
keyValueStore(Consumer<KeyValueStore.Builder> keyValueStore)
The resulting Key Value Store.CreateKeyValueStoreResponse.Builder
keyValueStore(KeyValueStore keyValueStore)
The resulting Key Value Store.CreateKeyValueStoreResponse.Builder
location(String location)
The location of the resulting Key Value Store.-
Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
keyValueStore
CreateKeyValueStoreResponse.Builder keyValueStore(KeyValueStore 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.Builder
avoiding the need to create one manually viaKeyValueStore.builder()
.When the
Consumer
completes,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:
keyValueStore(KeyValueStore)
-
eTag
CreateKeyValueStoreResponse.Builder eTag(String eTag)
The ETag in the resulting Key Value Store.
- Parameters:
eTag
- The ETag in the resulting Key Value Store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
CreateKeyValueStoreResponse.Builder location(String 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.
-
-