CopyableBuilder<ListTargetsForPolicyResponse.Builder,ListTargetsForPolicyResponse>
, SdkBuilder<ListTargetsForPolicyResponse.Builder,ListTargetsForPolicyResponse>
public static interface ListTargetsForPolicyResponse.Builder extends CopyableBuilder<ListTargetsForPolicyResponse.Builder,ListTargetsForPolicyResponse>
Modifier and Type | Method | Description |
---|---|---|
ListTargetsForPolicyResponse.Builder |
nextToken(String nextToken) |
If present, this value indicates that there is more output 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(PolicyTargetSummary... targets) |
A list of structures, each of which contains details about one of the entities to which the specified policy
is attached.
|
copy
apply, build
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setTargets(java.util.Collection)
or #withTargets(java.util.Collection)
if you want to
override the existing values.
targets
- A list of structures, each of which contains details about one of the entities to which the specified
policy is attached.ListTargetsForPolicyResponse.Builder nextToken(String nextToken)
If present, this value indicates that there is more output 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, this value indicates that there is more output 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.