Interface FacetAttributeUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FacetAttributeUpdate.Builder,
,FacetAttributeUpdate> SdkBuilder<FacetAttributeUpdate.Builder,
,FacetAttributeUpdate> SdkPojo
- Enclosing class:
FacetAttributeUpdate
public static interface FacetAttributeUpdate.Builder
extends SdkPojo, CopyableBuilder<FacetAttributeUpdate.Builder,FacetAttributeUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionThe action to perform when updating the attribute.action
(UpdateActionType action) The action to perform when updating the attribute.default FacetAttributeUpdate.Builder
attribute
(Consumer<FacetAttribute.Builder> attribute) The attribute to update.attribute
(FacetAttribute attribute) The attribute to update.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
-
Method Details
-
attribute
The attribute to update.
- Parameters:
attribute
- The attribute to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attribute
The attribute to update.
This is a convenience method that creates an instance of theFacetAttribute.Builder
avoiding the need to create one manually viaFacetAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattribute(FacetAttribute)
.- Parameters:
attribute
- a consumer that will call methods onFacetAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to perform when updating the attribute.
- Parameters:
action
- The action to perform when updating the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to perform when updating the attribute.
- Parameters:
action
- The action to perform when updating the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-