Class ObjectAttributeAction
- java.lang.Object
-
- software.amazon.awssdk.services.clouddirectory.model.ObjectAttributeAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ObjectAttributeAction.Builder,ObjectAttributeAction>
@Generated("software.amazon.awssdk:codegen") public final class ObjectAttributeAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ObjectAttributeAction.Builder,ObjectAttributeAction>
The action to take on the object attribute.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceObjectAttributeAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectAttributeAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()UpdateActionTypeobjectAttributeActionType()A type that can be eitherUpdateorDelete.StringobjectAttributeActionTypeAsString()A type that can be eitherUpdateorDelete.TypedAttributeValueobjectAttributeUpdateValue()The value that you want to update to.List<SdkField<?>>sdkFields()static Class<? extends ObjectAttributeAction.Builder>serializableBuilderClass()ObjectAttributeAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
objectAttributeActionType
public final UpdateActionType objectAttributeActionType()
A type that can be either
UpdateorDelete.If the service returns an enum value that is not available in the current SDK version,
objectAttributeActionTypewill returnUpdateActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromobjectAttributeActionTypeAsString().- Returns:
- A type that can be either
UpdateorDelete. - See Also:
UpdateActionType
-
objectAttributeActionTypeAsString
public final String objectAttributeActionTypeAsString()
A type that can be either
UpdateorDelete.If the service returns an enum value that is not available in the current SDK version,
objectAttributeActionTypewill returnUpdateActionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromobjectAttributeActionTypeAsString().- Returns:
- A type that can be either
UpdateorDelete. - See Also:
UpdateActionType
-
objectAttributeUpdateValue
public final TypedAttributeValue objectAttributeUpdateValue()
The value that you want to update to.
- Returns:
- The value that you want to update to.
-
toBuilder
public ObjectAttributeAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ObjectAttributeAction.Builder,ObjectAttributeAction>
-
builder
public static ObjectAttributeAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends ObjectAttributeAction.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.
-
-