Interface LookupPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<LookupPolicyRequest.Builder,,LookupPolicyRequest> SdkBuilder<LookupPolicyRequest.Builder,,LookupPolicyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
LookupPolicyRequest
public static interface LookupPolicyRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<LookupPolicyRequest.Builder,LookupPolicyRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory.maxResults(Integer maxResults) The maximum number of items to be retrieved in a single call.The token to request the next page of results.default LookupPolicyRequest.BuilderobjectReference(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object whose policies will be looked up.objectReference(ObjectReference objectReference) Reference that identifies the object whose policies will be looked up.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
directoryArn
-
objectReference
Reference that identifies the object whose policies will be looked up.
- Parameters:
objectReference- Reference that identifies the object whose policies will be looked up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default LookupPolicyRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object whose policies will be looked up.
This is a convenience method that creates an instance of theObjectReference.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectReference(ObjectReference).- Parameters:
objectReference- a consumer that will call methods onObjectReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to request the next page of results.
- Parameters:
nextToken- The token to request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of items to be retrieved in a single call. This is an approximate number.
- Parameters:
maxResults- The maximum number of items to be retrieved in a single call. This is an approximate number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
LookupPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
LookupPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-