public static interface ListPoliciesRequest.Builder extends VerifiedPermissionsRequest.Builder, SdkPojo, CopyableBuilder<ListPoliciesRequest.Builder,ListPoliciesRequest>
| Modifier and Type | Method and Description |
|---|---|
default ListPoliciesRequest.Builder |
filter(Consumer<PolicyFilter.Builder> filter)
Specifies a filter that limits the response to only policies that match the specified criteria.
|
ListPoliciesRequest.Builder |
filter(PolicyFilter filter)
Specifies a filter that limits the response to only policies that match the specified criteria.
|
ListPoliciesRequest.Builder |
maxResults(Integer maxResults)
Specifies the total number of results that you want included in each response.
|
ListPoliciesRequest.Builder |
nextToken(String nextToken)
Specifies that you want to receive the next page of results.
|
ListPoliciesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListPoliciesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ListPoliciesRequest.Builder |
policyStoreId(String policyStoreId)
Specifies the ID of the policy store you want to list policies from.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildListPoliciesRequest.Builder policyStoreId(String policyStoreId)
Specifies the ID of the policy store you want to list policies from.
policyStoreId - Specifies the ID of the policy store you want to list policies from.ListPoliciesRequest.Builder nextToken(String nextToken)
Specifies that you want to receive the next page of results. Valid only if you received a
NextToken response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken response to
request the next page of results.
nextToken - Specifies that you want to receive the next page of results. Valid only if you received a
NextToken response in the previous request. If you did, it indicates that more output is
available. Set this parameter to the value provided by the previous call's NextToken
response to request the next page of results.ListPoliciesRequest.Builder maxResults(Integer maxResults)
Specifies the total number of results that you want included in each response. If additional items exist
beyond the number you specify, the NextToken response element is returned with a value (not
null). Include the specified value as the NextToken request parameter in the next call to the
operation to get the next set of results. Note that the service might return fewer results than the maximum
even when there are more results available. You should check NextToken after every operation to
ensure that you receive all of the results.
If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
maxResults - Specifies the total number of results that you want included in each response. If additional items
exist beyond the number you specify, the NextToken response element is returned with a
value (not null). Include the specified value as the NextToken request parameter in the
next call to the operation to get the next set of results. Note that the service might return fewer
results than the maximum even when there are more results available. You should check
NextToken after every operation to ensure that you receive all of the results.
If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
ListPoliciesRequest.Builder filter(PolicyFilter filter)
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
filter - Specifies a filter that limits the response to only policies that match the specified criteria. For
example, you list only the policies that reference a specified principal.default ListPoliciesRequest.Builder filter(Consumer<PolicyFilter.Builder> filter)
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
This is a convenience method that creates an instance of thePolicyFilter.Builder avoiding the need
to create one manually via PolicyFilter.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to filter(PolicyFilter).
filter - a consumer that will call methods on PolicyFilter.Builderfilter(PolicyFilter)ListPoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListPoliciesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.