Interface BatchLookupPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchLookupPolicy.Builder,BatchLookupPolicy>,SdkBuilder<BatchLookupPolicy.Builder,BatchLookupPolicy>,SdkPojo
- Enclosing class:
- BatchLookupPolicy
public static interface BatchLookupPolicy.Builder extends SdkPojo, CopyableBuilder<BatchLookupPolicy.Builder,BatchLookupPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchLookupPolicy.BuildermaxResults(Integer maxResults)The maximum number of results to retrieve.BatchLookupPolicy.BuildernextToken(String nextToken)The pagination token.default BatchLookupPolicy.BuilderobjectReference(Consumer<ObjectReference.Builder> objectReference)Reference that identifies the object whose policies will be looked up.BatchLookupPolicy.BuilderobjectReference(ObjectReference objectReference)Reference that identifies the object whose policies will be looked up.-
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 Detail
-
objectReference
BatchLookupPolicy.Builder objectReference(ObjectReference 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:
objectReference(ObjectReference)
-
nextToken
BatchLookupPolicy.Builder nextToken(String 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
BatchLookupPolicy.Builder maxResults(Integer 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.
-
-