Interface LookupPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudDirectoryResponse.Builder,CopyableBuilder<LookupPolicyResponse.Builder,LookupPolicyResponse>,SdkBuilder<LookupPolicyResponse.Builder,LookupPolicyResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- LookupPolicyResponse
public static interface LookupPolicyResponse.Builder extends CloudDirectoryResponse.Builder, SdkPojo, CopyableBuilder<LookupPolicyResponse.Builder,LookupPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LookupPolicyResponse.BuildernextToken(String nextToken)The pagination token.LookupPolicyResponse.BuilderpolicyToPathList(Collection<PolicyToPath> policyToPathList)Provides list of path to policies.LookupPolicyResponse.BuilderpolicyToPathList(Consumer<PolicyToPath.Builder>... policyToPathList)Provides list of path to policies.LookupPolicyResponse.BuilderpolicyToPathList(PolicyToPath... policyToPathList)Provides list of path to policies.-
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
policyToPathList
LookupPolicyResponse.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
LookupPolicyResponse.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
LookupPolicyResponse.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
LookupPolicyResponse.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.
-
-