Interface BatchDetachObject.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchDetachObject.Builder,
,BatchDetachObject> SdkBuilder<BatchDetachObject.Builder,
,BatchDetachObject> SdkPojo
- Enclosing class:
BatchDetachObject
public static interface BatchDetachObject.Builder
extends SdkPojo, CopyableBuilder<BatchDetachObject.Builder,BatchDetachObject>
-
Method Summary
Modifier and TypeMethodDescriptionbatchReferenceName
(String batchReferenceName) The batch reference name.The name of the link.default BatchDetachObject.Builder
parentReference
(Consumer<ObjectReference.Builder> parentReference) Parent reference from which the object with the specified link name is detached.parentReference
(ObjectReference parentReference) Parent reference from which the object with the specified link name is detached.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
-
parentReference
Parent reference from which the object with the specified link name is detached.
- Parameters:
parentReference
- 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 BatchDetachObject.Builder parentReference(Consumer<ObjectReference.Builder> parentReference) 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 name of the link.
- Parameters:
linkName
- The name of the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
batchReferenceName
The batch reference name. See Transaction Support for more information.
- Parameters:
batchReferenceName
- The batch reference name. See Transaction Support for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-