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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LookupPolicyRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) that is associated with the Directory.LookupPolicyRequest.BuildermaxResults(Integer maxResults)The maximum number of items to be retrieved in a single call.LookupPolicyRequest.BuildernextToken(String nextToken)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.LookupPolicyRequest.BuilderobjectReference(ObjectReference objectReference)Reference that identifies the object whose policies will be looked up.LookupPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)LookupPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
-
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
-
directoryArn
LookupPolicyRequest.Builder directoryArn(String directoryArn)
-
objectReference
LookupPolicyRequest.Builder objectReference(ObjectReference 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:
objectReference(ObjectReference)
-
nextToken
LookupPolicyRequest.Builder nextToken(String 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
LookupPolicyRequest.Builder maxResults(Integer 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
LookupPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-