Interface ObjectAttributeUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ObjectAttributeUpdate.Builder,
,ObjectAttributeUpdate> SdkBuilder<ObjectAttributeUpdate.Builder,
,ObjectAttributeUpdate> SdkPojo
- Enclosing class:
ObjectAttributeUpdate
public static interface ObjectAttributeUpdate.Builder
extends SdkPojo, CopyableBuilder<ObjectAttributeUpdate.Builder,ObjectAttributeUpdate>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ObjectAttributeUpdate.Builder
objectAttributeAction
(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.Builder
objectAttributeKey
(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
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
-
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.Builder
avoiding the need to create one manually viaAttributeKey.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaObjectAttributeAction.builder()
.When the
Consumer
completes,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:
-