public static interface ListPolicyVersionsResponse.Builder extends IamResponse.Builder, CopyableBuilder<ListPolicyVersionsResponse.Builder,ListPolicyVersionsResponse>
Modifier and Type | Method and Description |
---|---|
ListPolicyVersionsResponse.Builder |
isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return.
|
ListPolicyVersionsResponse.Builder |
marker(String marker)
When
IsTruncated is true , this element is present and contains the value to use for
the Marker parameter in a subsequent pagination request. |
ListPolicyVersionsResponse.Builder |
versions(Collection<PolicyVersion> versions)
A list of policy versions.
|
ListPolicyVersionsResponse.Builder |
versions(Consumer<PolicyVersion.Builder>... versions)
A list of policy versions.
|
ListPolicyVersionsResponse.Builder |
versions(PolicyVersion... versions)
A list of policy versions.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListPolicyVersionsResponse.Builder versions(Collection<PolicyVersion> versions)
A list of policy versions.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
versions
- A list of policy versions.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
ListPolicyVersionsResponse.Builder versions(PolicyVersion... versions)
A list of policy versions.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
versions
- A list of policy versions.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
ListPolicyVersionsResponse.Builder versions(Consumer<PolicyVersion.Builder>... versions)
A list of policy versions.
For more information about managed policy versions, see Versioning for Managed Policies in the IAM User Guide.
This is a convenience that creates an instance of theList.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 #versions(List)
.versions
- a consumer that will call methods on List.Builder
#versions(List)
ListPolicyVersionsResponse.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return. If your results were truncated, you can make a
subsequent pagination request using the Marker
request parameter to retrieve more items. Note
that IAM might return fewer than the MaxItems
number of results even when there are more results
available. We recommend that you check IsTruncated
after every call to ensure that you receive
all of your results.
isTruncated
- A flag that indicates whether there are more items to return. If your results were truncated, you can
make a subsequent pagination request using the Marker
request parameter to retrieve more
items. Note that IAM might return fewer than the MaxItems
number of results even when
there are more results available. We recommend that you check IsTruncated
after every
call to ensure that you receive all of your results.ListPolicyVersionsResponse.Builder marker(String marker)
When IsTruncated
is true
, this element is present and contains the value to use for
the Marker
parameter in a subsequent pagination request.
marker
- When IsTruncated
is true
, this element is present and contains the value to
use for the Marker
parameter in a subsequent pagination request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.