Cloneable
, ReadLimitInfo
, ToCopyableBuilder<ListPoliciesForTargetRequest.Builder,ListPoliciesForTargetRequest>
@Generated("software.amazon.awssdk:codegen") public class ListPoliciesForTargetRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ListPoliciesForTargetRequest.Builder,ListPoliciesForTargetRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
ListPoliciesForTargetRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static ListPoliciesForTargetRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
String |
filter() |
The type of policy that you want to include in the returned list.
|
int |
hashCode() |
|
Integer |
maxResults() |
(Optional) Use this to limit the number of results you want included in the response.
|
String |
nextToken() |
Use this parameter if you receive a
NextToken response in a previous request that indicates that
there is more output available. |
static Class<? extends ListPoliciesForTargetRequest.Builder> |
serializableBuilderClass() |
|
String |
targetId() |
The unique identifier (ID) of the root, organizational unit, or account whose policies you want to list.
|
ListPoliciesForTargetRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String targetId()
The unique identifier (ID) of the root, organizational unit, or account whose policies you want to list.
The regex pattern for a target ID string requires one of the following:
Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits.
Account: a string that consists of exactly 12 digits.
Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
The regex pattern for a target ID string requires one of the following:
Root: a string that begins with "r-" followed by from 4 to 32 lower-case letters or digits.
Account: a string that consists of exactly 12 digits.
Organizational unit (OU): a string that begins with "ou-" followed by from 4 to 32 lower-case letters or digits (the ID of the root that the OU is in) followed by a second "-" dash and from 8 to 32 additional lower-case letters or digits.
public String filter()
The type of policy that you want to include in the returned list.
PolicyType
public String nextToken()
Use this parameter if you receive a NextToken
response in a previous request that indicates that
there is more output available. Set it to the value of the previous call's NextToken
response to
indicate where the output should continue from.
NextToken
response in a previous request that indicates
that there is more output available. Set it to the value of the previous call's NextToken
response to indicate where the output should continue from.public Integer maxResults()
(Optional) Use this to limit the number of results you want included in the response. If you do not include this
parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum
you specify, the NextToken
response element is present and has a value (is not null). Include that
value as the NextToken
request parameter in the next call to the operation to get the next part of
the results. Note that Organizations 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.
NextToken
response element is present and has a
value (is not null). Include that value as the NextToken
request parameter in the next call
to the operation to get the next part of the results. Note that Organizations 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.public ListPoliciesForTargetRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListPoliciesForTargetRequest.Builder,ListPoliciesForTargetRequest>
public static ListPoliciesForTargetRequest.Builder builder()
public static Class<? extends ListPoliciesForTargetRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.