Interface ObjectAttributeUpdate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ObjectAttributeUpdate.Builder,,ObjectAttributeUpdate> SdkBuilder<ObjectAttributeUpdate.Builder,,ObjectAttributeUpdate> SdkPojo
- Enclosing class:
ObjectAttributeUpdate
@Mutable
@NotThreadSafe
public static interface ObjectAttributeUpdate.Builder
extends SdkPojo, CopyableBuilder<ObjectAttributeUpdate.Builder,ObjectAttributeUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectAttributeUpdate.BuilderobjectAttributeAction(Consumer<ObjectAttributeAction.Builder> objectAttributeAction) The action to perform as part of the attribute update.objectAttributeAction(ObjectAttributeAction objectAttributeAction) The action to perform as part of the attribute update.default ObjectAttributeUpdate.BuilderobjectAttributeKey(Consumer<AttributeKey.Builder> objectAttributeKey) The key of the attribute being updated.objectAttributeKey(AttributeKey objectAttributeKey) The key of the attribute being updated.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
-
objectAttributeKey
The key of the attribute being updated.
- Parameters:
objectAttributeKey- The key of the attribute being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeKey
default ObjectAttributeUpdate.Builder objectAttributeKey(Consumer<AttributeKey.Builder> objectAttributeKey) The key of the attribute being updated.
This is a convenience method that creates an instance of theAttributeKey.Builderavoiding the need to create one manually viaAttributeKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectAttributeKey(AttributeKey).- Parameters:
objectAttributeKey- a consumer that will call methods onAttributeKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectAttributeAction
The action to perform as part of the attribute update.
- Parameters:
objectAttributeAction- The action to perform as part of the attribute update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectAttributeAction
default ObjectAttributeUpdate.Builder objectAttributeAction(Consumer<ObjectAttributeAction.Builder> objectAttributeAction) The action to perform as part of the attribute update.
This is a convenience method that creates an instance of theObjectAttributeAction.Builderavoiding the need to create one manually viaObjectAttributeAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectAttributeAction(ObjectAttributeAction).- Parameters:
objectAttributeAction- a consumer that will call methods onObjectAttributeAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-