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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DetachObjectRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) that is associated with the Directory where objects reside.DetachObjectRequest.BuilderlinkName(String linkName)The link name associated with the object that needs to be detached.DetachObjectRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DetachObjectRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default DetachObjectRequest.BuilderparentReference(Consumer<ObjectReference.Builder> parentReference)The parent reference from which the object with the specified link name is detached.DetachObjectRequest.BuilderparentReference(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 Detail
-
directoryArn
DetachObjectRequest.Builder directoryArn(String directoryArn)
-
parentReference
DetachObjectRequest.Builder parentReference(ObjectReference 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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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:
parentReference(ObjectReference)
-
linkName
DetachObjectRequest.Builder linkName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DetachObjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-