Interface BatchWriteOperation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BatchWriteOperation.Builder,,BatchWriteOperation> SdkBuilder<BatchWriteOperation.Builder,,BatchWriteOperation> SdkPojo
- Enclosing class:
BatchWriteOperation
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchWriteOperation.BuilderaddFacetToObject(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.BuilderattachObject(Consumer<BatchAttachObject.Builder> attachObject) Attaches an object to a Directory.attachObject(BatchAttachObject attachObject) Attaches an object to a Directory.default BatchWriteOperation.BuilderattachPolicy(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.BuilderattachToIndex(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.BuilderattachTypedLink(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.BuildercreateIndex(Consumer<BatchCreateIndex.Builder> createIndex) Creates an index object.createIndex(BatchCreateIndex createIndex) Creates an index object.default BatchWriteOperation.BuildercreateObject(Consumer<BatchCreateObject.Builder> createObject) Creates an object.createObject(BatchCreateObject createObject) Creates an object.default BatchWriteOperation.BuilderdeleteObject(Consumer<BatchDeleteObject.Builder> deleteObject) Deletes an object in a Directory.deleteObject(BatchDeleteObject deleteObject) Deletes an object in a Directory.default BatchWriteOperation.BuilderdetachFromIndex(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.BuilderdetachObject(Consumer<BatchDetachObject.Builder> detachObject) Detaches an object from a Directory.detachObject(BatchDetachObject detachObject) Detaches an object from a Directory.default BatchWriteOperation.BuilderdetachPolicy(Consumer<BatchDetachPolicy.Builder> detachPolicy) Detaches a policy from a Directory.detachPolicy(BatchDetachPolicy detachPolicy) Detaches a policy from a Directory.default BatchWriteOperation.BuilderdetachTypedLink(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.BuilderremoveFacetFromObject(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.BuilderupdateLinkAttributes(Consumer<BatchUpdateLinkAttributes.Builder> updateLinkAttributes) Updates a given object's attributes.updateLinkAttributes(BatchUpdateLinkAttributes updateLinkAttributes) Updates a given object's attributes.default BatchWriteOperation.BuilderupdateObjectAttributes(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-
attachObject
-
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:
-
detachObject
-
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:
-
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:
-
deleteObject
-
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:
-
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:
-
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:
-
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.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:
-
detachPolicy
-
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:
-
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.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:
-
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:
-
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:
-
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:
-
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:
-
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:
-