Interface BatchGetObjectInformation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchGetObjectInformation.Builder,,BatchGetObjectInformation> SdkBuilder<BatchGetObjectInformation.Builder,,BatchGetObjectInformation> SdkPojo
- Enclosing class:
BatchGetObjectInformation
@Mutable
@NotThreadSafe
public static interface BatchGetObjectInformation.Builder
extends SdkPojo, CopyableBuilder<BatchGetObjectInformation.Builder,BatchGetObjectInformation>
-
Method Summary
Modifier and TypeMethodDescriptionobjectReference(Consumer<ObjectReference.Builder> objectReference) A reference to the object.objectReference(ObjectReference objectReference) A reference to the object.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
-
objectReference
A reference to the object.
- Parameters:
objectReference- A reference to the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default BatchGetObjectInformation.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) A reference to the object.
This is a convenience method that creates an instance of theObjectReference.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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:
-