Interface BatchLookupPolicyResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchLookupPolicyResponse.Builder,BatchLookupPolicyResponse>,SdkBuilder<BatchLookupPolicyResponse.Builder,BatchLookupPolicyResponse>,SdkPojo
- Enclosing class:
- BatchLookupPolicyResponse
public static interface BatchLookupPolicyResponse.Builder extends SdkPojo, CopyableBuilder<BatchLookupPolicyResponse.Builder,BatchLookupPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchLookupPolicyResponse.BuildernextToken(String nextToken)The pagination token.BatchLookupPolicyResponse.BuilderpolicyToPathList(Collection<PolicyToPath> policyToPathList)Provides list of path to policies.BatchLookupPolicyResponse.BuilderpolicyToPathList(Consumer<PolicyToPath.Builder>... policyToPathList)Provides list of path to policies.BatchLookupPolicyResponse.BuilderpolicyToPathList(PolicyToPath... policyToPathList)Provides list of path to policies.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
policyToPathList
BatchLookupPolicyResponse.Builder policyToPathList(Collection<PolicyToPath> policyToPathList)
Provides list of path to policies. Policies contain
PolicyId,ObjectIdentifier, andPolicyType. For more information, see Policies.- Parameters:
policyToPathList- Provides list of path to policies. Policies containPolicyId,ObjectIdentifier, andPolicyType. For more information, see Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyToPathList
BatchLookupPolicyResponse.Builder policyToPathList(PolicyToPath... policyToPathList)
Provides list of path to policies. Policies contain
PolicyId,ObjectIdentifier, andPolicyType. For more information, see Policies.- Parameters:
policyToPathList- Provides list of path to policies. Policies containPolicyId,ObjectIdentifier, andPolicyType. For more information, see Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyToPathList
BatchLookupPolicyResponse.Builder policyToPathList(Consumer<PolicyToPath.Builder>... policyToPathList)
Provides list of path to policies. Policies contain
This is a convenience method that creates an instance of thePolicyId,ObjectIdentifier, andPolicyType. For more information, see Policies.PolicyToPath.Builderavoiding the need to create one manually viaPolicyToPath.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#policyToPathList(List.) - Parameters:
policyToPathList- a consumer that will call methods onPolicyToPath.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#policyToPathList(java.util.Collection)
-
nextToken
BatchLookupPolicyResponse.Builder nextToken(String nextToken)
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-