Interface BatchListObjectParents.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchListObjectParents.Builder,
,BatchListObjectParents> SdkBuilder<BatchListObjectParents.Builder,
,BatchListObjectParents> SdkPojo
- Enclosing class:
BatchListObjectParents
public static interface BatchListObjectParents.Builder
extends SdkPojo, CopyableBuilder<BatchListObjectParents.Builder,BatchListObjectParents>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of items to be retrieved in a single call.The pagination token.default BatchListObjectParents.Builder
objectReference
(Consumer<ObjectReference.Builder> objectReference) Sets the value of the ObjectReference property for this object.objectReference
(ObjectReference objectReference) Sets the value of the ObjectReference property for this 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
Sets the value of the ObjectReference property for this object.- Parameters:
objectReference
- The new value for the ObjectReference property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default BatchListObjectParents.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) Sets the value of the ObjectReference property for this 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:
-
nextToken
The pagination token.
- Parameters:
nextToken
- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to be retrieved in a single call. This is an approximate number.
- Parameters:
maxResults
- The maximum number of items to be retrieved in a single call. This is an approximate number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-