Interface BatchWriteOperation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>,SdkBuilder<BatchWriteOperation.Builder,BatchWriteOperation>,SdkPojo
- Enclosing class:
- BatchWriteOperation
public static interface BatchWriteOperation.Builder extends SdkPojo, CopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>
-
-
Method Summary
-
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
-
createObject
BatchWriteOperation.Builder createObject(BatchCreateObject createObject)
Creates an object.
- Parameters:
createObject- Creates an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createObject
default BatchWriteOperation.Builder createObject(Consumer<BatchCreateObject.Builder> createObject)
Creates an object.
This is a convenience method that creates an instance of theBatchCreateObject.Builderavoiding the need to create one manually viaBatchCreateObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreateObject(BatchCreateObject).- Parameters:
createObject- a consumer that will call methods onBatchCreateObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createObject(BatchCreateObject)
-
attachObject
BatchWriteOperation.Builder attachObject(BatchAttachObject attachObject)
Attaches an object to a Directory.
- Parameters:
attachObject- Attaches an object to a Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachObject
default BatchWriteOperation.Builder attachObject(Consumer<BatchAttachObject.Builder> attachObject)
Attaches an object to a Directory.
This is a convenience method that creates an instance of theBatchAttachObject.Builderavoiding the need to create one manually viaBatchAttachObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachObject(BatchAttachObject).- Parameters:
attachObject- a consumer that will call methods onBatchAttachObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachObject(BatchAttachObject)
-
detachObject
BatchWriteOperation.Builder detachObject(BatchDetachObject detachObject)
Detaches an object from a Directory.
- Parameters:
detachObject- Detaches an object from a Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detachObject
default BatchWriteOperation.Builder detachObject(Consumer<BatchDetachObject.Builder> detachObject)
Detaches an object from a Directory.
This is a convenience method that creates an instance of theBatchDetachObject.Builderavoiding the need to create one manually viaBatchDetachObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetachObject(BatchDetachObject).- Parameters:
detachObject- a consumer that will call methods onBatchDetachObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detachObject(BatchDetachObject)
-
updateObjectAttributes
BatchWriteOperation.Builder updateObjectAttributes(BatchUpdateObjectAttributes updateObjectAttributes)
Updates a given object's attributes.
- Parameters:
updateObjectAttributes- Updates a given object's attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateObjectAttributes
default BatchWriteOperation.Builder updateObjectAttributes(Consumer<BatchUpdateObjectAttributes.Builder> updateObjectAttributes)
Updates a given object's attributes.
This is a convenience method that creates an instance of theBatchUpdateObjectAttributes.Builderavoiding the need to create one manually viaBatchUpdateObjectAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateObjectAttributes(BatchUpdateObjectAttributes).- Parameters:
updateObjectAttributes- a consumer that will call methods onBatchUpdateObjectAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
updateObjectAttributes(BatchUpdateObjectAttributes)
-
deleteObject
BatchWriteOperation.Builder deleteObject(BatchDeleteObject deleteObject)
Deletes an object in a Directory.
- Parameters:
deleteObject- Deletes an object in a Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteObject
default BatchWriteOperation.Builder deleteObject(Consumer<BatchDeleteObject.Builder> deleteObject)
Deletes an object in a Directory.
This is a convenience method that creates an instance of theBatchDeleteObject.Builderavoiding the need to create one manually viaBatchDeleteObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeleteObject(BatchDeleteObject).- Parameters:
deleteObject- a consumer that will call methods onBatchDeleteObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deleteObject(BatchDeleteObject)
-
addFacetToObject
BatchWriteOperation.Builder addFacetToObject(BatchAddFacetToObject addFacetToObject)
A batch operation that adds a facet to an object.
- Parameters:
addFacetToObject- A batch operation that adds a facet to an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addFacetToObject
default BatchWriteOperation.Builder addFacetToObject(Consumer<BatchAddFacetToObject.Builder> addFacetToObject)
A batch operation that adds a facet to an object.
This is a convenience method that creates an instance of theBatchAddFacetToObject.Builderavoiding the need to create one manually viaBatchAddFacetToObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddFacetToObject(BatchAddFacetToObject).- Parameters:
addFacetToObject- a consumer that will call methods onBatchAddFacetToObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
addFacetToObject(BatchAddFacetToObject)
-
removeFacetFromObject
BatchWriteOperation.Builder removeFacetFromObject(BatchRemoveFacetFromObject removeFacetFromObject)
A batch operation that removes a facet from an object.
- Parameters:
removeFacetFromObject- A batch operation that removes a facet from an object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeFacetFromObject
default BatchWriteOperation.Builder removeFacetFromObject(Consumer<BatchRemoveFacetFromObject.Builder> removeFacetFromObject)
A batch operation that removes a facet from an object.
This is a convenience method that creates an instance of theBatchRemoveFacetFromObject.Builderavoiding the need to create one manually viaBatchRemoveFacetFromObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoveFacetFromObject(BatchRemoveFacetFromObject).- Parameters:
removeFacetFromObject- a consumer that will call methods onBatchRemoveFacetFromObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
removeFacetFromObject(BatchRemoveFacetFromObject)
-
attachPolicy
BatchWriteOperation.Builder attachPolicy(BatchAttachPolicy attachPolicy)
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
- Parameters:
attachPolicy- Attaches a policy object to a regular object. An object can have a limited number of attached policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachPolicy
default BatchWriteOperation.Builder attachPolicy(Consumer<BatchAttachPolicy.Builder> attachPolicy)
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
This is a convenience method that creates an instance of theBatchAttachPolicy.Builderavoiding the need to create one manually viaBatchAttachPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachPolicy(BatchAttachPolicy).- Parameters:
attachPolicy- a consumer that will call methods onBatchAttachPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachPolicy(BatchAttachPolicy)
-
detachPolicy
BatchWriteOperation.Builder detachPolicy(BatchDetachPolicy detachPolicy)
Detaches a policy from a Directory.
- Parameters:
detachPolicy- Detaches a policy from a Directory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detachPolicy
default BatchWriteOperation.Builder detachPolicy(Consumer<BatchDetachPolicy.Builder> detachPolicy)
Detaches a policy from a Directory.
This is a convenience method that creates an instance of theBatchDetachPolicy.Builderavoiding the need to create one manually viaBatchDetachPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetachPolicy(BatchDetachPolicy).- Parameters:
detachPolicy- a consumer that will call methods onBatchDetachPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detachPolicy(BatchDetachPolicy)
-
createIndex
BatchWriteOperation.Builder createIndex(BatchCreateIndex createIndex)
Creates an index object. See Indexing and search for more information.
- Parameters:
createIndex- Creates an index object. See Indexing and search for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createIndex
default BatchWriteOperation.Builder createIndex(Consumer<BatchCreateIndex.Builder> createIndex)
Creates an index object. See Indexing and search for more information.
This is a convenience method that creates an instance of theBatchCreateIndex.Builderavoiding the need to create one manually viaBatchCreateIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreateIndex(BatchCreateIndex).- Parameters:
createIndex- a consumer that will call methods onBatchCreateIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createIndex(BatchCreateIndex)
-
attachToIndex
BatchWriteOperation.Builder attachToIndex(BatchAttachToIndex attachToIndex)
Attaches the specified object to the specified index.
- Parameters:
attachToIndex- Attaches the specified object to the specified index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachToIndex
default BatchWriteOperation.Builder attachToIndex(Consumer<BatchAttachToIndex.Builder> attachToIndex)
Attaches the specified object to the specified index.
This is a convenience method that creates an instance of theBatchAttachToIndex.Builderavoiding the need to create one manually viaBatchAttachToIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachToIndex(BatchAttachToIndex).- Parameters:
attachToIndex- a consumer that will call methods onBatchAttachToIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachToIndex(BatchAttachToIndex)
-
detachFromIndex
BatchWriteOperation.Builder detachFromIndex(BatchDetachFromIndex detachFromIndex)
Detaches the specified object from the specified index.
- Parameters:
detachFromIndex- Detaches the specified object from the specified index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detachFromIndex
default BatchWriteOperation.Builder detachFromIndex(Consumer<BatchDetachFromIndex.Builder> detachFromIndex)
Detaches the specified object from the specified index.
This is a convenience method that creates an instance of theBatchDetachFromIndex.Builderavoiding the need to create one manually viaBatchDetachFromIndex.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetachFromIndex(BatchDetachFromIndex).- Parameters:
detachFromIndex- a consumer that will call methods onBatchDetachFromIndex.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detachFromIndex(BatchDetachFromIndex)
-
attachTypedLink
BatchWriteOperation.Builder attachTypedLink(BatchAttachTypedLink attachTypedLink)
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
- Parameters:
attachTypedLink- Attaches a typed link to a specified source and target object. For more information, see Typed Links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachTypedLink
default BatchWriteOperation.Builder attachTypedLink(Consumer<BatchAttachTypedLink.Builder> attachTypedLink)
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
This is a convenience method that creates an instance of theBatchAttachTypedLink.Builderavoiding the need to create one manually viaBatchAttachTypedLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachTypedLink(BatchAttachTypedLink).- Parameters:
attachTypedLink- a consumer that will call methods onBatchAttachTypedLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachTypedLink(BatchAttachTypedLink)
-
detachTypedLink
BatchWriteOperation.Builder detachTypedLink(BatchDetachTypedLink detachTypedLink)
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
- Parameters:
detachTypedLink- Detaches a typed link from a specified source and target object. For more information, see Typed Links.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detachTypedLink
default BatchWriteOperation.Builder detachTypedLink(Consumer<BatchDetachTypedLink.Builder> detachTypedLink)
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
This is a convenience method that creates an instance of theBatchDetachTypedLink.Builderavoiding the need to create one manually viaBatchDetachTypedLink.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetachTypedLink(BatchDetachTypedLink).- Parameters:
detachTypedLink- a consumer that will call methods onBatchDetachTypedLink.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detachTypedLink(BatchDetachTypedLink)
-
updateLinkAttributes
BatchWriteOperation.Builder updateLinkAttributes(BatchUpdateLinkAttributes updateLinkAttributes)
Updates a given object's attributes.
- Parameters:
updateLinkAttributes- Updates a given object's attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateLinkAttributes
default BatchWriteOperation.Builder updateLinkAttributes(Consumer<BatchUpdateLinkAttributes.Builder> updateLinkAttributes)
Updates a given object's attributes.
This is a convenience method that creates an instance of theBatchUpdateLinkAttributes.Builderavoiding the need to create one manually viaBatchUpdateLinkAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdateLinkAttributes(BatchUpdateLinkAttributes).- Parameters:
updateLinkAttributes- a consumer that will call methods onBatchUpdateLinkAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
updateLinkAttributes(BatchUpdateLinkAttributes)
-
-