Class BatchWriteOperation
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<BatchWriteOperation.Builder,
BatchWriteOperation>
Represents the output of a BatchWrite
operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BatchAddFacetToObject
A batch operation that adds a facet to an object.final BatchAttachObject
Attaches an object to a Directory.final BatchAttachPolicy
Attaches a policy object to a regular object.final BatchAttachToIndex
Attaches the specified object to the specified index.final BatchAttachTypedLink
Attaches a typed link to a specified source and target object.static BatchWriteOperation.Builder
builder()
final BatchCreateIndex
Creates an index object.final BatchCreateObject
Creates an object.final BatchDeleteObject
Deletes an object in a Directory.final BatchDetachFromIndex
Detaches the specified object from the specified index.final BatchDetachObject
Detaches an object from a Directory.final BatchDetachPolicy
Detaches a policy from a Directory.final BatchDetachTypedLink
Detaches a typed link from a specified source and target object.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
A batch operation that removes a facet from an object.static Class
<? extends BatchWriteOperation.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Updates a given object's attributes.Updates a given object's attributes.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
createObject
Creates an object.
- Returns:
- Creates an object.
-
attachObject
Attaches an object to a Directory.
- Returns:
- Attaches an object to a Directory.
-
detachObject
Detaches an object from a Directory.
- Returns:
- Detaches an object from a Directory.
-
updateObjectAttributes
Updates a given object's attributes.
- Returns:
- Updates a given object's attributes.
-
deleteObject
Deletes an object in a Directory.
- Returns:
- Deletes an object in a Directory.
-
addFacetToObject
A batch operation that adds a facet to an object.
- Returns:
- A batch operation that adds a facet to an object.
-
removeFacetFromObject
A batch operation that removes a facet from an object.
- Returns:
- A batch operation that removes a facet from an object.
-
attachPolicy
Attaches a policy object to a regular object. An object can have a limited number of attached policies.
- Returns:
- Attaches a policy object to a regular object. An object can have a limited number of attached policies.
-
detachPolicy
Detaches a policy from a Directory.
- Returns:
- Detaches a policy from a Directory.
-
createIndex
Creates an index object. See Indexing and search for more information.
- Returns:
- Creates an index object. See Indexing and search for more information.
-
attachToIndex
Attaches the specified object to the specified index.
- Returns:
- Attaches the specified object to the specified index.
-
detachFromIndex
Detaches the specified object from the specified index.
- Returns:
- Detaches the specified object from the specified index.
-
attachTypedLink
Attaches a typed link to a specified source and target object. For more information, see Typed Links.
- Returns:
- Attaches a typed link to a specified source and target object. For more information, see Typed Links.
-
detachTypedLink
Detaches a typed link from a specified source and target object. For more information, see Typed Links.
- Returns:
- Detaches a typed link from a specified source and target object. For more information, see Typed Links.
-
updateLinkAttributes
Updates a given object's attributes.
- Returns:
- Updates a given object's attributes.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<BatchWriteOperation.Builder,
BatchWriteOperation> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-