Class BatchWriteOperation
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.BatchWriteOperation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>
@Generated("software.amazon.awssdk:codegen") public final class BatchWriteOperation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>
Represents the output of a
BatchWriteoperation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchWriteOperation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchAddFacetToObjectaddFacetToObject()A batch operation that adds a facet to an object.BatchAttachObjectattachObject()Attaches an object to a Directory.BatchAttachPolicyattachPolicy()Attaches a policy object to a regular object.BatchAttachToIndexattachToIndex()Attaches the specified object to the specified index.BatchAttachTypedLinkattachTypedLink()Attaches a typed link to a specified source and target object.static BatchWriteOperation.Builderbuilder()BatchCreateIndexcreateIndex()Creates an index object.BatchCreateObjectcreateObject()Creates an object.BatchDeleteObjectdeleteObject()Deletes an object in a Directory.BatchDetachFromIndexdetachFromIndex()Detaches the specified object from the specified index.BatchDetachObjectdetachObject()Detaches an object from a Directory.BatchDetachPolicydetachPolicy()Detaches a policy from a Directory.BatchDetachTypedLinkdetachTypedLink()Detaches a typed link from a specified source and target object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BatchRemoveFacetFromObjectremoveFacetFromObject()A batch operation that removes a facet from an object.List<SdkField<?>>sdkFields()static Class<? extends BatchWriteOperation.Builder>serializableBuilderClass()BatchWriteOperation.BuildertoBuilder()StringtoString()Returns a string representation of this object.BatchUpdateLinkAttributesupdateLinkAttributes()Updates a given object's attributes.BatchUpdateObjectAttributesupdateObjectAttributes()Updates a given object's attributes.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
createObject
public final BatchCreateObject createObject()
Creates an object.
- Returns:
- Creates an object.
-
attachObject
public final BatchAttachObject attachObject()
Attaches an object to a Directory.
- Returns:
- Attaches an object to a Directory.
-
detachObject
public final BatchDetachObject detachObject()
Detaches an object from a Directory.
- Returns:
- Detaches an object from a Directory.
-
updateObjectAttributes
public final BatchUpdateObjectAttributes updateObjectAttributes()
Updates a given object's attributes.
- Returns:
- Updates a given object's attributes.
-
deleteObject
public final BatchDeleteObject deleteObject()
Deletes an object in a Directory.
- Returns:
- Deletes an object in a Directory.
-
addFacetToObject
public final BatchAddFacetToObject addFacetToObject()
A batch operation that adds a facet to an object.
- Returns:
- A batch operation that adds a facet to an object.
-
removeFacetFromObject
public final BatchRemoveFacetFromObject removeFacetFromObject()
A batch operation that removes a facet from an object.
- Returns:
- A batch operation that removes a facet from an object.
-
attachPolicy
public final BatchAttachPolicy 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
public final BatchDetachPolicy detachPolicy()
Detaches a policy from a Directory.
- Returns:
- Detaches a policy from a Directory.
-
createIndex
public final BatchCreateIndex 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
public final BatchAttachToIndex attachToIndex()
Attaches the specified object to the specified index.
- Returns:
- Attaches the specified object to the specified index.
-
detachFromIndex
public final BatchDetachFromIndex detachFromIndex()
Detaches the specified object from the specified index.
- Returns:
- Detaches the specified object from the specified index.
-
attachTypedLink
public final BatchAttachTypedLink 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
public final BatchDetachTypedLink 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
public final BatchUpdateLinkAttributes updateLinkAttributes()
Updates a given object's attributes.
- Returns:
- Updates a given object's attributes.
-
toBuilder
public BatchWriteOperation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchWriteOperation.Builder,BatchWriteOperation>
-
builder
public static BatchWriteOperation.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchWriteOperation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-