Interface DetachObjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudDirectoryRequest.Builder
,CopyableBuilder<DetachObjectRequest.Builder,
,DetachObjectRequest> SdkBuilder<DetachObjectRequest.Builder,
,DetachObjectRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DetachObjectRequest
public static interface DetachObjectRequest.Builder
extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<DetachObjectRequest.Builder,DetachObjectRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryArn
(String directoryArn) The Amazon Resource Name (ARN) that is associated with the Directory where objects reside.The link name associated with the object that needs to be detached.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default DetachObjectRequest.Builder
parentReference
(Consumer<ObjectReference.Builder> parentReference) The parent reference from which the object with the specified link name is detached.parentReference
(ObjectReference parentReference) The parent reference from which the object with the specified link name is detached.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
-
parentReference
The parent reference from which the object with the specified link name is detached.
- Parameters:
parentReference
- The parent reference from which the object with the specified link name is detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentReference
default DetachObjectRequest.Builder parentReference(Consumer<ObjectReference.Builder> parentReference) The parent reference from which the object with the specified link name is detached.
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 toparentReference(ObjectReference)
.- Parameters:
parentReference
- 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:
-
linkName
The link name associated with the object that needs to be detached.
- Parameters:
linkName
- The link name associated with the object that needs to be detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DetachObjectRequest.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
DetachObjectRequest.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.
-