java.lang.Object
java.lang.Enum<Event>
software.amazon.awssdk.services.s3.model.Event
All Implemented Interfaces:
Serializable, Comparable<Event>

@Generated("software.amazon.awssdk:codegen") public enum Event extends Enum<Event>

The bucket event for which to send notifications.

  • Enum Constant Details

    • S3_REDUCED_REDUNDANCY_LOST_OBJECT

      public static final Event S3_REDUCED_REDUNDANCY_LOST_OBJECT
    • S3_OBJECT_CREATED

      public static final Event S3_OBJECT_CREATED
    • S3_OBJECT_CREATED_PUT

      public static final Event S3_OBJECT_CREATED_PUT
    • S3_OBJECT_CREATED_POST

      public static final Event S3_OBJECT_CREATED_POST
    • S3_OBJECT_CREATED_COPY

      public static final Event S3_OBJECT_CREATED_COPY
    • S3_OBJECT_CREATED_COMPLETE_MULTIPART_UPLOAD

      public static final Event S3_OBJECT_CREATED_COMPLETE_MULTIPART_UPLOAD
    • S3_OBJECT_REMOVED

      public static final Event S3_OBJECT_REMOVED
    • S3_OBJECT_REMOVED_DELETE

      public static final Event S3_OBJECT_REMOVED_DELETE
    • S3_OBJECT_REMOVED_DELETE_MARKER_CREATED

      public static final Event S3_OBJECT_REMOVED_DELETE_MARKER_CREATED
    • S3_OBJECT_RESTORE

      public static final Event S3_OBJECT_RESTORE
    • S3_OBJECT_RESTORE_POST

      public static final Event S3_OBJECT_RESTORE_POST
    • S3_OBJECT_RESTORE_COMPLETED

      public static final Event S3_OBJECT_RESTORE_COMPLETED
    • S3_REPLICATION

      public static final Event S3_REPLICATION
    • S3_REPLICATION_OPERATION_FAILED_REPLICATION

      public static final Event S3_REPLICATION_OPERATION_FAILED_REPLICATION
    • S3_REPLICATION_OPERATION_NOT_TRACKED

      public static final Event S3_REPLICATION_OPERATION_NOT_TRACKED
    • S3_REPLICATION_OPERATION_MISSED_THRESHOLD

      public static final Event S3_REPLICATION_OPERATION_MISSED_THRESHOLD
    • S3_REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD

      public static final Event S3_REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD
    • S3_OBJECT_RESTORE_DELETE

      public static final Event S3_OBJECT_RESTORE_DELETE
    • S3_LIFECYCLE_TRANSITION

      public static final Event S3_LIFECYCLE_TRANSITION
    • S3_INTELLIGENT_TIERING

      public static final Event S3_INTELLIGENT_TIERING
    • S3_OBJECT_ACL_PUT

      public static final Event S3_OBJECT_ACL_PUT
    • S3_LIFECYCLE_EXPIRATION

      public static final Event S3_LIFECYCLE_EXPIRATION
    • S3_LIFECYCLE_EXPIRATION_DELETE

      public static final Event S3_LIFECYCLE_EXPIRATION_DELETE
    • S3_LIFECYCLE_EXPIRATION_DELETE_MARKER_CREATED

      public static final Event S3_LIFECYCLE_EXPIRATION_DELETE_MARKER_CREATED
    • S3_OBJECT_TAGGING

      public static final Event S3_OBJECT_TAGGING
    • S3_OBJECT_TAGGING_PUT

      public static final Event S3_OBJECT_TAGGING_PUT
    • S3_OBJECT_TAGGING_DELETE

      public static final Event S3_OBJECT_TAGGING_DELETE
    • UNKNOWN_TO_SDK_VERSION

      public static final Event UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static Event[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Event valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Event>
    • fromValue

      public static Event fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      Event corresponding to the value
    • knownValues

      public static Set<Event> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known Events