Interface ListPoliciesResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<ListPoliciesResponse.Builder,,- ListPoliciesResponse> - SdkBuilder<ListPoliciesResponse.Builder,,- ListPoliciesResponse> - SdkPojo,- SdkResponse.Builder,- VerifiedPermissionsResponse.Builder
- Enclosing class:
- ListPoliciesResponse
@Mutable
@NotThreadSafe
public static interface ListPoliciesResponse.Builder
extends VerifiedPermissionsResponse.Builder, SdkPojo, CopyableBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionIf present, this value indicates that more output is available than is included in the current response.policies(Collection<PolicyItem> policies) Lists all policies that are available in the specified policy store.policies(Consumer<PolicyItem.Builder>... policies) Lists all policies that are available in the specified policy store.policies(PolicyItem... policies) Lists all policies that are available in the specified policy store.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.verifiedpermissions.model.VerifiedPermissionsResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
nextTokenIf present, this value indicates that more output is available than is included in the current response. Use this value in the NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Parameters:
- nextToken- If present, this value indicates that more output is available than is included in the current response. Use this value in the- NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the- NextTokenresponse element comes back as- null. This indicates that this is the last page of results.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policiesLists all policies that are available in the specified policy store. - Parameters:
- policies- Lists all policies that are available in the specified policy store.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policiesLists all policies that are available in the specified policy store. - Parameters:
- policies- Lists all policies that are available in the specified policy store.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
policiesLists all policies that are available in the specified policy store. This is a convenience method that creates an instance of thePolicyItem.Builderavoiding the need to create one manually viaPolicyItem.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicies(List<PolicyItem>).- Parameters:
- policies- a consumer that will call methods on- PolicyItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-