public static interface PutAttributesRequest.Builder extends SimpleDBRequest.Builder, CopyableBuilder<PutAttributesRequest.Builder,PutAttributesRequest>
Modifier and Type | Method and Description |
---|---|
PutAttributesRequest.Builder |
attributes(Collection<ReplaceableAttribute> attributes)
The list of attributes.
|
PutAttributesRequest.Builder |
attributes(ReplaceableAttribute... attributes)
The list of attributes.
|
PutAttributesRequest.Builder |
domainName(String domainName)
The name of the domain in which to perform the operation.
|
default PutAttributesRequest.Builder |
expected(Consumer<UpdateCondition.Builder> expected)
The update condition which, if specified, determines whether the specified attributes will be updated or not.
|
PutAttributesRequest.Builder |
expected(UpdateCondition expected)
The update condition which, if specified, determines whether the specified attributes will be updated or not.
|
PutAttributesRequest.Builder |
itemName(String itemName)
The name of the item.
|
PutAttributesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
PutAttributesRequest.Builder domainName(String domainName)
domainName
- The name of the domain in which to perform the operation.PutAttributesRequest.Builder itemName(String itemName)
itemName
- The name of the item.PutAttributesRequest.Builder attributes(Collection<ReplaceableAttribute> attributes)
attributes
- The list of attributes.PutAttributesRequest.Builder attributes(ReplaceableAttribute... attributes)
attributes
- The list of attributes.PutAttributesRequest.Builder expected(UpdateCondition expected)
expected
- The update condition which, if specified, determines whether the specified attributes will be updated
or not. The update condition must be satisfied in order for this request to be processed and the
attributes to be updated.default PutAttributesRequest.Builder expected(Consumer<UpdateCondition.Builder> expected)
UpdateCondition.Builder
avoiding the
need to create one manually via UpdateCondition.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to expected(UpdateCondition)
.expected
- a consumer that will call methods on UpdateCondition.Builder
expected(UpdateCondition)
PutAttributesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.