Interface BatchLookupPolicyResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchLookupPolicyResponse.Builder,,BatchLookupPolicyResponse> SdkBuilder<BatchLookupPolicyResponse.Builder,,BatchLookupPolicyResponse> SdkPojo
- Enclosing class:
BatchLookupPolicyResponse
@Mutable
@NotThreadSafe
public static interface BatchLookupPolicyResponse.Builder
extends SdkPojo, CopyableBuilder<BatchLookupPolicyResponse.Builder,BatchLookupPolicyResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token.policyToPathList(Collection<PolicyToPath> policyToPathList) Provides list of path to policies.policyToPathList(Consumer<PolicyToPath.Builder>... policyToPathList) Provides list of path to policies.policyToPathList(PolicyToPath... policyToPathList) Provides list of path to policies.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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 topolicyToPathList(List<PolicyToPath>).- 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:
-
nextToken
The pagination token.
- Parameters:
nextToken- The pagination token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-