CopyableBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse>
, SdkBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse>
public static interface ListPoliciesResponse.Builder extends CopyableBuilder<ListPoliciesResponse.Builder,ListPoliciesResponse>
Modifier and Type | Method | Description |
---|---|---|
ListPoliciesResponse.Builder |
isTruncated(Boolean isTruncated) |
A flag that indicates whether there are more items to return.
|
ListPoliciesResponse.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. |
ListPoliciesResponse.Builder |
policies(Collection<Policy> policies) |
A list of policies.
|
ListPoliciesResponse.Builder |
policies(Policy... policies) |
A list of policies.
|
copy
apply, build
ListPoliciesResponse.Builder policies(Collection<Policy> policies)
A list of policies.
policies
- A list of policies.ListPoliciesResponse.Builder policies(Policy... policies)
A list of policies.
NOTE: This method appends the values to the existing list (if any). Use
#setPolicies(java.util.Collection)
or #withPolicies(java.util.Collection)
if you want to
override the existing values.
policies
- A list of policies.ListPoliciesResponse.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.ListPoliciesResponse.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.