public static interface LookupPolicyRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<LookupPolicyRequest.Builder,LookupPolicyRequest>
Modifier and Type | Method and Description |
---|---|
LookupPolicyRequest.Builder |
directoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory.
|
LookupPolicyRequest.Builder |
maxResults(Integer maxResults)
The maximum number of items to be retrieved in a single call.
|
LookupPolicyRequest.Builder |
nextToken(String nextToken)
The token to request the next page of results.
|
default LookupPolicyRequest.Builder |
objectReference(Consumer<ObjectReference.Builder> objectReference)
Reference that identifies the object whose policies will be looked up.
|
LookupPolicyRequest.Builder |
objectReference(ObjectReference objectReference)
Reference that identifies the object whose policies will be looked up.
|
LookupPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
LookupPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
LookupPolicyRequest.Builder directoryArn(String directoryArn)
LookupPolicyRequest.Builder objectReference(ObjectReference objectReference)
Reference that identifies the object whose policies will be looked up.
objectReference
- Reference that identifies the object whose policies will be looked up.default LookupPolicyRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference)
Reference that identifies the object whose policies will be looked up.
This is a convenience that creates an instance of theObjectReference.Builder
avoiding the need to
create one manually via ObjectReference.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to objectReference(ObjectReference)
.objectReference
- a consumer that will call methods on ObjectReference.Builder
objectReference(ObjectReference)
LookupPolicyRequest.Builder nextToken(String nextToken)
The token to request the next page of results.
nextToken
- The token to request the next page of results.LookupPolicyRequest.Builder maxResults(Integer maxResults)
The maximum number of items to be retrieved in a single call. This is an approximate number.
maxResults
- The maximum number of items to be retrieved in a single call. This is an approximate number.LookupPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.LookupPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.