Interface ListObjectParentPathsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<ListObjectParentPathsRequest.Builder,,ListObjectParentPathsRequest> SdkBuilder<ListObjectParentPathsRequest.Builder,,ListObjectParentPathsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListObjectParentPathsRequest
public static interface ListObjectParentPathsRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<ListObjectParentPathsRequest.Builder,ListObjectParentPathsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn(String directoryArn) The ARN of the directory to which the parent path applies.maxResults(Integer maxResults) The maximum number of items to be retrieved in a single call.The pagination token.objectReference(Consumer<ObjectReference.Builder> objectReference) The reference that identifies the object whose parent paths are listed.objectReference(ObjectReference objectReference) The reference that identifies the object whose parent paths are listed.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
The ARN of the directory to which the parent path applies.
- Parameters:
directoryArn- The ARN of the directory to which the parent path applies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
The reference that identifies the object whose parent paths are listed.
- Parameters:
objectReference- The reference that identifies the object whose parent paths are listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default ListObjectParentPathsRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) The reference that identifies the object whose parent paths are listed.
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 pagination token.
- Parameters:
nextToken- The pagination token.- 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
ListObjectParentPathsRequest.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
ListObjectParentPathsRequest.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.
-