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.BuilderchildReference(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.BuilderparentReference(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-
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.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-