Interface GetObjectInformationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<GetObjectInformationRequest.Builder,
,GetObjectInformationRequest> SdkBuilder<GetObjectInformationRequest.Builder,
,GetObjectInformationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetObjectInformationRequest
public static interface GetObjectInformationRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<GetObjectInformationRequest.Builder,GetObjectInformationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconsistencyLevel
(String consistencyLevel) The consistency level at which to retrieve the object information.consistencyLevel
(ConsistencyLevel consistencyLevel) The consistency level at which to retrieve the object information.directoryArn
(String directoryArn) The ARN of the directory being retrieved.objectReference
(Consumer<ObjectReference.Builder> objectReference) A reference to the object.objectReference
(ObjectReference objectReference) A reference to the object.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
The ARN of the directory being retrieved.
- Parameters:
directoryArn
- The ARN of the directory being retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
A reference to the object.
- Parameters:
objectReference
- A reference to the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default GetObjectInformationRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference) A reference to the object.
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:
-
consistencyLevel
The consistency level at which to retrieve the object information.
- Parameters:
consistencyLevel
- The consistency level at which to retrieve the object information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consistencyLevel
The consistency level at which to retrieve the object information.
- Parameters:
consistencyLevel
- The consistency level at which to retrieve the object information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetObjectInformationRequest.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
GetObjectInformationRequest.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.
-