Interface BatchLookupPolicy.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchLookupPolicy.Builder,,BatchLookupPolicy> SdkBuilder<BatchLookupPolicy.Builder,,BatchLookupPolicy> SdkPojo
- Enclosing class:
BatchLookupPolicy
@Mutable
@NotThreadSafe
public static interface BatchLookupPolicy.Builder
extends SdkPojo, CopyableBuilder<BatchLookupPolicy.Builder,BatchLookupPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to retrieve.The pagination token.default BatchLookupPolicy.BuilderobjectReference(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object whose policies will be looked up.objectReference(ObjectReference objectReference) Reference that identifies the object whose policies will be looked up.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
Reference that identifies the object whose policies will be looked up.
- Parameters:
objectReference- Reference that identifies the object whose policies will be looked up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default BatchLookupPolicy.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object whose policies will be looked up.
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:
-
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 results to retrieve.
- Parameters:
maxResults- The maximum number of results to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-