Interface ObjectAttributeAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ObjectAttributeAction.Builder,,ObjectAttributeAction> SdkBuilder<ObjectAttributeAction.Builder,,ObjectAttributeAction> SdkPojo
- Enclosing class:
ObjectAttributeAction
@Mutable
@NotThreadSafe
public static interface ObjectAttributeAction.Builder
extends SdkPojo, CopyableBuilder<ObjectAttributeAction.Builder,ObjectAttributeAction>
-
Method Summary
Modifier and TypeMethodDescriptionobjectAttributeActionType(String objectAttributeActionType) A type that can be eitherUpdateorDelete.objectAttributeActionType(UpdateActionType objectAttributeActionType) A type that can be eitherUpdateorDelete.default ObjectAttributeAction.BuilderobjectAttributeUpdateValue(Consumer<TypedAttributeValue.Builder> objectAttributeUpdateValue) The value that you want to update to.objectAttributeUpdateValue(TypedAttributeValue objectAttributeUpdateValue) The value that you want to update to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
objectAttributeActionType
A type that can be either
UpdateorDelete.- Parameters:
objectAttributeActionType- A type that can be eitherUpdateorDelete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectAttributeActionType
A type that can be either
UpdateorDelete.- Parameters:
objectAttributeActionType- A type that can be eitherUpdateorDelete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectAttributeUpdateValue
ObjectAttributeAction.Builder objectAttributeUpdateValue(TypedAttributeValue objectAttributeUpdateValue) The value that you want to update to.
- Parameters:
objectAttributeUpdateValue- The value that you want to update to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeUpdateValue
default ObjectAttributeAction.Builder objectAttributeUpdateValue(Consumer<TypedAttributeValue.Builder> objectAttributeUpdateValue) The value that you want to update to.
This is a convenience method that creates an instance of theTypedAttributeValue.Builderavoiding the need to create one manually viaTypedAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectAttributeUpdateValue(TypedAttributeValue).- Parameters:
objectAttributeUpdateValue- a consumer that will call methods onTypedAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-