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