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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description FacetAttributeUpdate.Builderaction(String action)The action to perform when updating the attribute.FacetAttributeUpdate.Builderaction(UpdateActionType action)The action to perform when updating the attribute.default FacetAttributeUpdate.Builderattribute(Consumer<FacetAttribute.Builder> attribute)The attribute to update.FacetAttributeUpdate.Builderattribute(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 Detail
-
attribute
FacetAttributeUpdate.Builder attribute(FacetAttribute 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
default FacetAttributeUpdate.Builder attribute(Consumer<FacetAttribute.Builder> attribute)
The attribute to update.
This is a convenience method that creates an instance of theFacetAttribute.Builderavoiding the need to create one manually viaFacetAttribute.builder().When the
Consumercompletes,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:
attribute(FacetAttribute)
-
action
FacetAttributeUpdate.Builder action(String 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:
UpdateActionType,UpdateActionType
-
action
FacetAttributeUpdate.Builder action(UpdateActionType 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:
UpdateActionType,UpdateActionType
-
-