Interface BatchWriteOperation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchWriteOperation.Builder,
,BatchWriteOperation> SdkBuilder<BatchWriteOperation.Builder,
,BatchWriteOperation> SdkPojo
- Enclosing class:
BatchWriteOperation
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchWriteOperation.Builder
addFacetToObject
(Consumer<BatchAddFacetToObject.Builder> addFacetToObject) A batch operation that adds a facet to an object.addFacetToObject
(BatchAddFacetToObject addFacetToObject) A batch operation that adds a facet to an object.default BatchWriteOperation.Builder
attachObject
(Consumer<BatchAttachObject.Builder> attachObject) Attaches an object to a Directory.attachObject
(BatchAttachObject attachObject) Attaches an object to a Directory.default BatchWriteOperation.Builder
attachPolicy
(Consumer<BatchAttachPolicy.Builder> attachPolicy) Attaches a policy object to a regular object.attachPolicy
(BatchAttachPolicy attachPolicy) Attaches a policy object to a regular object.default BatchWriteOperation.Builder
attachToIndex
(Consumer<BatchAttachToIndex.Builder> attachToIndex) Attaches the specified object to the specified index.attachToIndex
(BatchAttachToIndex attachToIndex) Attaches the specified object to the specified index.default BatchWriteOperation.Builder
attachTypedLink
(Consumer<BatchAttachTypedLink.Builder> attachTypedLink) Attaches a typed link to a specified source and target object.attachTypedLink
(BatchAttachTypedLink attachTypedLink) Attaches a typed link to a specified source and target object.default BatchWriteOperation.Builder
createIndex
(Consumer<BatchCreateIndex.Builder> createIndex) Creates an index object.createIndex
(BatchCreateIndex createIndex) Creates an index object.default BatchWriteOperation.Builder
createObject
(Consumer<BatchCreateObject.Builder> createObject) Creates an object.createObject
(BatchCreateObject createObject) Creates an object.default BatchWriteOperation.Builder
deleteObject
(Consumer<BatchDeleteObject.Builder> deleteObject) Deletes an object in a Directory.deleteObject
(BatchDeleteObject deleteObject) Deletes an object in a Directory.default BatchWriteOperation.Builder
detachFromIndex
(Consumer<BatchDetachFromIndex.Builder> detachFromIndex) Detaches the specified object from the specified index.detachFromIndex
(BatchDetachFromIndex detachFromIndex) Detaches the specified object from the specified index.default BatchWriteOperation.Builder
detachObject
(Consumer<BatchDetachObject.Builder> detachObject) Detaches an object from a Directory.detachObject
(BatchDetachObject detachObject) Detaches an object from a Directory.default BatchWriteOperation.Builder
detachPolicy
(Consumer<BatchDetachPolicy.Builder> detachPolicy) Detaches a policy from a Directory.detachPolicy
(BatchDetachPolicy detachPolicy) Detaches a policy from a Directory.default BatchWriteOperation.Builder
detachTypedLink
(Consumer<BatchDetachTypedLink.Builder> detachTypedLink) Detaches a typed link from a specified source and target object.detachTypedLink
(BatchDetachTypedLink detachTypedLink) Detaches a typed link from a specified source and target object.default BatchWriteOperation.Builder
removeFacetFromObject
(Consumer<BatchRemoveFacetFromObject.Builder> removeFacetFromObject) A batch operation that removes a facet from an object.removeFacetFromObject
(BatchRemoveFacetFromObject removeFacetFromObject) A batch operation that removes a facet from an object.default BatchWriteOperation.Builder
updateLinkAttributes
(Consumer<BatchUpdateLinkAttributes.Builder> updateLinkAttributes) Updates a given object's attributes.updateLinkAttributes
(BatchUpdateLinkAttributes updateLinkAttributes) Updates a given object's attributes.default BatchWriteOperation.Builder
updateObjectAttributes
(Consumer<BatchUpdateObjectAttributes.Builder> updateObjectAttributes) Updates a given object's attributes.updateObjectAttributes
(BatchUpdateObjectAttributes updateObjectAttributes) Updates a given object's attributes.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
-
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
Creates an object.
This is a convenience method that creates an instance of theBatchCreateObject.Builder
avoiding the need to create one manually viaBatchCreateObject.builder()
.When the
Consumer
completes,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:
-
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
Attaches an object to a Directory.
This is a convenience method that creates an instance of theBatchAttachObject.Builder
avoiding the need to create one manually viaBatchAttachObject.builder()
.When the
Consumer
completes,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:
-
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
Detaches an object from a Directory.
This is a convenience method that creates an instance of theBatchDetachObject.Builder
avoiding the need to create one manually viaBatchDetachObject.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchUpdateObjectAttributes.builder()
.When the
Consumer
completes,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:
-
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
Deletes an object in a Directory.
This is a convenience method that creates an instance of theBatchDeleteObject.Builder
avoiding the need to create one manually viaBatchDeleteObject.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchAddFacetToObject.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchRemoveFacetFromObject.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaBatchAttachPolicy.builder()
.When the
Consumer
completes,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:
-
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
Detaches a policy from a Directory.
This is a convenience method that creates an instance of theBatchDetachPolicy.Builder
avoiding the need to create one manually viaBatchDetachPolicy.builder()
.When the
Consumer
completes,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:
-
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
Creates an index object. See Indexing and search for more information.
This is a convenience method that creates an instance of theBatchCreateIndex.Builder
avoiding the need to create one manually viaBatchCreateIndex.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchAttachToIndex.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchDetachFromIndex.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchAttachTypedLink.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchDetachTypedLink.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaBatchUpdateLinkAttributes.builder()
.When the
Consumer
completes,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:
-