public static interface ListPolicyGenerationsResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<ListPolicyGenerationsResponse.Builder,ListPolicyGenerationsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListPolicyGenerationsResponse.Builder |
nextToken(String nextToken)
A token used for pagination of results returned.
|
ListPolicyGenerationsResponse.Builder |
policyGenerations(Collection<PolicyGeneration> policyGenerations)
A
PolicyGeneration object that contains details about the generated policy. |
ListPolicyGenerationsResponse.Builder |
policyGenerations(Consumer<PolicyGeneration.Builder>... policyGenerations)
A
PolicyGeneration object that contains details about the generated policy. |
ListPolicyGenerationsResponse.Builder |
policyGenerations(PolicyGeneration... policyGenerations)
A
PolicyGeneration object that contains details about the generated policy. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPolicyGenerationsResponse.Builder nextToken(String nextToken)
A token used for pagination of results returned.
nextToken - A token used for pagination of results returned.ListPolicyGenerationsResponse.Builder policyGenerations(Collection<PolicyGeneration> policyGenerations)
A PolicyGeneration object that contains details about the generated policy.
policyGenerations - A PolicyGeneration object that contains details about the generated policy.ListPolicyGenerationsResponse.Builder policyGenerations(PolicyGeneration... policyGenerations)
A PolicyGeneration object that contains details about the generated policy.
policyGenerations - A PolicyGeneration object that contains details about the generated policy.ListPolicyGenerationsResponse.Builder policyGenerations(Consumer<PolicyGeneration.Builder>... policyGenerations)
A PolicyGeneration object that contains details about the generated policy.
List.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #policyGenerations(List) .policyGenerations - a consumer that will call methods on List.Builder #policyGenerations(List) Copyright © 2022. All rights reserved.