Interface BatchUpdateObjectAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchUpdateObjectAttributes.Builder,
,BatchUpdateObjectAttributes> SdkBuilder<BatchUpdateObjectAttributes.Builder,
,BatchUpdateObjectAttributes> SdkPojo
- Enclosing class:
BatchUpdateObjectAttributes
public static interface BatchUpdateObjectAttributes.Builder
extends SdkPojo, CopyableBuilder<BatchUpdateObjectAttributes.Builder,BatchUpdateObjectAttributes>
-
Method Summary
Modifier and TypeMethodDescriptionattributeUpdates
(Collection<ObjectAttributeUpdate> attributeUpdates) Attributes update structure.attributeUpdates
(Consumer<ObjectAttributeUpdate.Builder>... attributeUpdates) Attributes update structure.attributeUpdates
(ObjectAttributeUpdate... attributeUpdates) Attributes update structure.objectReference
(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object.objectReference
(ObjectReference objectReference) Reference that identifies the object.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
-
objectReference
Reference that identifies the object.
- Parameters:
objectReference
- Reference that identifies the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default BatchUpdateObjectAttributes.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object.
This is a convenience method that creates an instance of theObjectReference.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toobjectReference(ObjectReference)
.- Parameters:
objectReference
- a consumer that will call methods onObjectReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeUpdates
BatchUpdateObjectAttributes.Builder attributeUpdates(Collection<ObjectAttributeUpdate> attributeUpdates) Attributes update structure.
- Parameters:
attributeUpdates
- Attributes update structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdates
Attributes update structure.
- Parameters:
attributeUpdates
- Attributes update structure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeUpdates
BatchUpdateObjectAttributes.Builder attributeUpdates(Consumer<ObjectAttributeUpdate.Builder>... attributeUpdates) Attributes update structure.
This is a convenience method that creates an instance of theObjectAttributeUpdate.Builder
avoiding the need to create one manually viaObjectAttributeUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeUpdates(List<ObjectAttributeUpdate>)
.- Parameters:
attributeUpdates
- a consumer that will call methods onObjectAttributeUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-