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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ObjectAttributeUpdate.BuilderobjectAttributeAction(Consumer<ObjectAttributeAction.Builder> objectAttributeAction)The action to perform as part of the attribute update.ObjectAttributeUpdate.BuilderobjectAttributeAction(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.ObjectAttributeUpdate.BuilderobjectAttributeKey(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 Detail
-
objectAttributeKey
ObjectAttributeUpdate.Builder objectAttributeKey(AttributeKey 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:
objectAttributeKey(AttributeKey)
-
objectAttributeAction
ObjectAttributeUpdate.Builder objectAttributeAction(ObjectAttributeAction 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:
objectAttributeAction(ObjectAttributeAction)
-
-