public static interface ListTargetsForPolicyResponse.Builder extends OrganizationsResponse.Builder, SdkPojo, CopyableBuilder<ListTargetsForPolicyResponse.Builder,ListTargetsForPolicyResponse>
| Modifier and Type | Method and Description |
|---|---|
ListTargetsForPolicyResponse.Builder |
nextToken(String nextToken)
If present, indicates that more output is available than is included in the current response.
|
ListTargetsForPolicyResponse.Builder |
targets(Collection<PolicyTargetSummary> targets)
A list of structures, each of which contains details about one of the entities to which the specified policy
is attached.
|
ListTargetsForPolicyResponse.Builder |
targets(Consumer<PolicyTargetSummary.Builder>... targets)
A list of structures, each of which contains details about one of the entities to which the specified policy
is attached.
|
ListTargetsForPolicyResponse.Builder |
targets(PolicyTargetSummary... targets)
A list of structures, each of which contains details about one of the entities to which the specified policy
is attached.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListTargetsForPolicyResponse.Builder targets(Collection<PolicyTargetSummary> targets)
A list of structures, each of which contains details about one of the entities to which the specified policy is attached.
targets - A list of structures, each of which contains details about one of the entities to which the specified
policy is attached.ListTargetsForPolicyResponse.Builder targets(PolicyTargetSummary... targets)
A list of structures, each of which contains details about one of the entities to which the specified policy is attached.
targets - A list of structures, each of which contains details about one of the entities to which the specified
policy is attached.ListTargetsForPolicyResponse.Builder targets(Consumer<PolicyTargetSummary.Builder>... targets)
A list of structures, each of which contains details about one of the entities to which the specified policy is attached.
This is a convenience method that creates an instance of thePolicyTargetSummary.Builder avoiding the need to
create one manually via
PolicyTargetSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #targets(List.
targets - a consumer that will call methods on
PolicyTargetSummary.Builder#targets(java.util.Collection) ListTargetsForPolicyResponse.Builder nextToken(String nextToken)
If present, indicates that more output is available than is included in the current response. Use this value
in the NextToken request parameter in a subsequent call to the operation to get the next part of
the output. You should repeat this until the NextToken response element comes back as
null.
nextToken - If present, indicates that more output is available than is included in the current response. Use this
value in the NextToken request parameter in a subsequent call to the operation to get the
next part of the output. You should repeat this until the NextToken response element
comes back as null.Copyright © 2023. All rights reserved.