Interface ListPolicyVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPolicyVersionsResponse.Builder,,ListPolicyVersionsResponse> MpaResponse.Builder,SdkBuilder<ListPolicyVersionsResponse.Builder,,ListPolicyVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPolicyVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf present, indicates that more output is available than is included in the current response.policyVersions(Collection<PolicyVersionSummary> policyVersions) An array ofPolicyVersionSummaryobjects.policyVersions(Consumer<PolicyVersionSummary.Builder>... policyVersions) An array ofPolicyVersionSummaryobjects.policyVersions(PolicyVersionSummary... policyVersions) An array ofPolicyVersionSummaryobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mpa.model.MpaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If present, indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a next call to the operation to get more output. You can repeat this until theNextTokenresponse element returnsnull.- Parameters:
nextToken- If present, indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a next call to the operation to get more output. You can repeat this until theNextTokenresponse element returnsnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersions
An array of
PolicyVersionSummaryobjects. Contains details for the version of the policies that define the permissions for team resources.- Parameters:
policyVersions- An array ofPolicyVersionSummaryobjects. Contains details for the version of the policies that define the permissions for team resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersions
An array of
PolicyVersionSummaryobjects. Contains details for the version of the policies that define the permissions for team resources.- Parameters:
policyVersions- An array ofPolicyVersionSummaryobjects. Contains details for the version of the policies that define the permissions for team resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyVersions
ListPolicyVersionsResponse.Builder policyVersions(Consumer<PolicyVersionSummary.Builder>... policyVersions) An array of
This is a convenience method that creates an instance of thePolicyVersionSummaryobjects. Contains details for the version of the policies that define the permissions for team resources.PolicyVersionSummary.Builderavoiding the need to create one manually viaPolicyVersionSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyVersions(List<PolicyVersionSummary>).- Parameters:
policyVersions- a consumer that will call methods onPolicyVersionSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-