public static interface FacetAttributeUpdate.Builder extends CopyableBuilder<FacetAttributeUpdate.Builder,FacetAttributeUpdate>
Modifier and Type | Method and Description |
---|---|
FacetAttributeUpdate.Builder |
action(String action)
The action to perform when updating the attribute.
|
FacetAttributeUpdate.Builder |
action(UpdateActionType action)
The action to perform when updating the attribute.
|
default FacetAttributeUpdate.Builder |
attribute(Consumer<FacetAttribute.Builder> attribute)
The attribute to update.
|
FacetAttributeUpdate.Builder |
attribute(FacetAttribute attribute)
The attribute to update.
|
copy
applyMutation, build
FacetAttributeUpdate.Builder attribute(FacetAttribute attribute)
The attribute to update.
attribute
- The attribute to update.default FacetAttributeUpdate.Builder attribute(Consumer<FacetAttribute.Builder> attribute)
The attribute to update.
This is a convenience that creates an instance of theFacetAttribute.Builder
avoiding the need to
create one manually via FacetAttribute.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to attribute(FacetAttribute)
.attribute
- a consumer that will call methods on FacetAttribute.Builder
attribute(FacetAttribute)
FacetAttributeUpdate.Builder action(String action)
The action to perform when updating the attribute.
action
- The action to perform when updating the attribute.UpdateActionType
,
UpdateActionType
FacetAttributeUpdate.Builder action(UpdateActionType action)
The action to perform when updating the attribute.
action
- The action to perform when updating the attribute.UpdateActionType
,
UpdateActionType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.