Interface ListPolicyGenerationsResponse.Builder
-
- All Superinterfaces:
AccessAnalyzerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListPolicyGenerationsResponse.Builder,ListPolicyGenerationsResponse>,SdkBuilder<ListPolicyGenerationsResponse.Builder,ListPolicyGenerationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPolicyGenerationsResponse
public static interface ListPolicyGenerationsResponse.Builder extends AccessAnalyzerResponse.Builder, SdkPojo, CopyableBuilder<ListPolicyGenerationsResponse.Builder,ListPolicyGenerationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPolicyGenerationsResponse.BuildernextToken(String nextToken)A token used for pagination of results returned.ListPolicyGenerationsResponse.BuilderpolicyGenerations(Collection<PolicyGeneration> policyGenerations)APolicyGenerationobject that contains details about the generated policy.ListPolicyGenerationsResponse.BuilderpolicyGenerations(Consumer<PolicyGeneration.Builder>... policyGenerations)APolicyGenerationobject that contains details about the generated policy.ListPolicyGenerationsResponse.BuilderpolicyGenerations(PolicyGeneration... policyGenerations)APolicyGenerationobject that contains details about the generated policy.-
Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
policyGenerations
ListPolicyGenerationsResponse.Builder policyGenerations(Collection<PolicyGeneration> policyGenerations)
A
PolicyGenerationobject that contains details about the generated policy.- Parameters:
policyGenerations- APolicyGenerationobject that contains details about the generated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyGenerations
ListPolicyGenerationsResponse.Builder policyGenerations(PolicyGeneration... policyGenerations)
A
PolicyGenerationobject that contains details about the generated policy.- Parameters:
policyGenerations- APolicyGenerationobject that contains details about the generated policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyGenerations
ListPolicyGenerationsResponse.Builder policyGenerations(Consumer<PolicyGeneration.Builder>... policyGenerations)
A
This is a convenience method that creates an instance of thePolicyGenerationobject that contains details about the generated policy.PolicyGeneration.Builderavoiding the need to create one manually viaPolicyGeneration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyGenerations(List.) - Parameters:
policyGenerations- a consumer that will call methods onPolicyGeneration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyGenerations(java.util.Collection)
-
nextToken
ListPolicyGenerationsResponse.Builder nextToken(String nextToken)
A token used for pagination of results returned.
- Parameters:
nextToken- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-