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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BatchListPolicyAttachments.BuildermaxResults(Integer maxResults)The maximum number of results to retrieve.BatchListPolicyAttachments.BuildernextToken(String nextToken)The pagination token.default BatchListPolicyAttachments.BuilderpolicyReference(Consumer<ObjectReference.Builder> policyReference)The reference that identifies the policy object.BatchListPolicyAttachments.BuilderpolicyReference(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 Detail
-
policyReference
BatchListPolicyAttachments.Builder policyReference(ObjectReference 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.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 onObjectReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policyReference(ObjectReference)
-
nextToken
BatchListPolicyAttachments.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
BatchListPolicyAttachments.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.
-
-