Interface BatchListPolicyAttachments.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BatchListPolicyAttachments.Builder,,- BatchListPolicyAttachments> - SdkBuilder<BatchListPolicyAttachments.Builder,,- BatchListPolicyAttachments> - SdkPojo
- Enclosing class:
- BatchListPolicyAttachments
@Mutable
@NotThreadSafe
public static interface BatchListPolicyAttachments.Builder
extends SdkPojo, CopyableBuilder<BatchListPolicyAttachments.Builder,BatchListPolicyAttachments> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
policyReferenceThe 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.
 
- 
policyReferencedefault 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.Builderavoiding the need to create one manually viaObjectReference.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyReference(ObjectReference).- Parameters:
- policyReference- a consumer that will call methods on- ObjectReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenThe pagination token. - Parameters:
- nextToken- The pagination token.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxResultsThe 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.
 
 
-