Interface ListObjectParentsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<ListObjectParentsRequest.Builder,
,ListObjectParentsRequest> SdkBuilder<ListObjectParentsRequest.Builder,
,ListObjectParentsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListObjectParentsRequest
-
Method Summary
Modifier and TypeMethodDescriptionconsistencyLevel
(String consistencyLevel) Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.consistencyLevel
(ConsistencyLevel consistencyLevel) Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.directoryArn
(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory where the object resides.includeAllLinksToEachParent
(Boolean includeAllLinksToEachParent) When set to True, returns all ListObjectParentsResponse$ParentLinks.maxResults
(Integer maxResults) The maximum number of items to be retrieved in a single call.The pagination token.default ListObjectParentsRequest.Builder
objectReference
(Consumer<ObjectReference.Builder> objectReference) The reference that identifies the object for which parent objects are being listed.objectReference
(ObjectReference objectReference) The reference that identifies the object for which parent objects are being 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
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 Details
-
directoryArn
-
objectReference
The reference that identifies the object for which parent objects are being listed.
- Parameters:
objectReference
- The reference that identifies the object for which parent objects are being listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default ListObjectParentsRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) The reference that identifies the object for which parent objects are being listed.
This is a convenience method that creates an instance of theObjectReference.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,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.
-
consistencyLevel
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
- Parameters:
consistencyLevel
- Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consistencyLevel
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
- Parameters:
consistencyLevel
- Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includeAllLinksToEachParent
When set to True, returns all ListObjectParentsResponse$ParentLinks. There could be multiple links between a parent-child pair.
- Parameters:
includeAllLinksToEachParent
- When set to True, returns all ListObjectParentsResponse$ParentLinks. There could be multiple links between a parent-child pair.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListObjectParentsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListObjectParentsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-