Interface BatchListPolicyAttachments.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchListPolicyAttachments.Builder,
,BatchListPolicyAttachments> SdkBuilder<BatchListPolicyAttachments.Builder,
,BatchListPolicyAttachments> SdkPojo
- Enclosing class:
BatchListPolicyAttachments
public static interface BatchListPolicyAttachments.Builder
extends SdkPojo, CopyableBuilder<BatchListPolicyAttachments.Builder,BatchListPolicyAttachments>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of results to retrieve.The pagination token.policyReference
(Consumer<ObjectReference.Builder> policyReference) The reference that identifies the policy object.policyReference
(ObjectReference policyReference) The reference that identifies the policy 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
-
policyReference
The reference that identifies the policy object.
- Parameters:
policyReference
- The reference that identifies the policy object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyReference
default BatchListPolicyAttachments.Builder policyReference(Consumer<ObjectReference.Builder> policyReference) The reference that identifies the policy 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 topolicyReference(ObjectReference)
.- Parameters:
policyReference
- 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.
-