Interface BatchDeleteObject.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchDeleteObject.Builder,
,BatchDeleteObject> SdkBuilder<BatchDeleteObject.Builder,
,BatchDeleteObject> SdkPojo
- Enclosing class:
BatchDeleteObject
public static interface BatchDeleteObject.Builder
extends SdkPojo, CopyableBuilder<BatchDeleteObject.Builder,BatchDeleteObject>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchDeleteObject.Builder
objectReference
(Consumer<ObjectReference.Builder> objectReference) The reference that identifies the object.objectReference
(ObjectReference objectReference) The 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
The reference that identifies the object.
- Parameters:
objectReference
- The reference that identifies the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default BatchDeleteObject.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) The 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:
-