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
-
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
AttachObjectRequest.Builder directoryArn(String directoryArn)
-
parentReference
AttachObjectRequest.Builder parentReference(ObjectReference 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:
parentReference(ObjectReference)
-
childReference
AttachObjectRequest.Builder childReference(ObjectReference 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:
childReference(ObjectReference)
-
linkName
AttachObjectRequest.Builder linkName(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AttachObjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-