Interface BatchAttachObject.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchAttachObject.Builder,
,BatchAttachObject> SdkBuilder<BatchAttachObject.Builder,
,BatchAttachObject> SdkPojo
- Enclosing class:
BatchAttachObject
public static interface BatchAttachObject.Builder
extends SdkPojo, CopyableBuilder<BatchAttachObject.Builder,BatchAttachObject>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchAttachObject.Builder
childReference
(Consumer<ObjectReference.Builder> childReference) The child object reference that is to be attached to the object.childReference
(ObjectReference childReference) The child object reference that is to be attached to the object.The name of the link.default BatchAttachObject.Builder
parentReference
(Consumer<ObjectReference.Builder> parentReference) The parent object reference.parentReference
(ObjectReference parentReference) The parent object reference.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
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 BatchAttachObject.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 that is to be attached to the object.
- Parameters:
childReference
- The child object reference that is to be attached to the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
childReference
The child object reference that is 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 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.
-