Class InventoryDeletionStatusItem

java.lang.Object
software.amazon.awssdk.services.ssm.model.InventoryDeletionStatusItem
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InventoryDeletionStatusItem.Builder,InventoryDeletionStatusItem>

@Generated("software.amazon.awssdk:codegen") public final class InventoryDeletionStatusItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InventoryDeletionStatusItem.Builder,InventoryDeletionStatusItem>

Status information returned by the DeleteInventory operation.

See Also:
  • Method Details

    • deletionId

      public final String deletionId()

      The deletion ID returned by the DeleteInventory operation.

      Returns:
      The deletion ID returned by the DeleteInventory operation.
    • typeName

      public final String typeName()

      The name of the inventory data type.

      Returns:
      The name of the inventory data type.
    • deletionStartTime

      public final Instant deletionStartTime()

      The UTC timestamp when the delete operation started.

      Returns:
      The UTC timestamp when the delete operation started.
    • lastStatus

      public final InventoryDeletionStatus lastStatus()

      The status of the operation. Possible values are InProgress and Complete.

      If the service returns an enum value that is not available in the current SDK version, lastStatus will return InventoryDeletionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from lastStatusAsString().

      Returns:
      The status of the operation. Possible values are InProgress and Complete.
      See Also:
    • lastStatusAsString

      public final String lastStatusAsString()

      The status of the operation. Possible values are InProgress and Complete.

      If the service returns an enum value that is not available in the current SDK version, lastStatus will return InventoryDeletionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from lastStatusAsString().

      Returns:
      The status of the operation. Possible values are InProgress and Complete.
      See Also:
    • lastStatusMessage

      public final String lastStatusMessage()

      Information about the status.

      Returns:
      Information about the status.
    • deletionSummary

      public final InventoryDeletionSummary deletionSummary()

      Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the Amazon Web Services Systems Manager User Guide.

      Returns:
      Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the Amazon Web Services Systems Manager User Guide.
    • lastStatusUpdateTime

      public final Instant lastStatusUpdateTime()

      The UTC timestamp of when the last status report.

      Returns:
      The UTC timestamp of when the last status report.
    • 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 interface ToCopyableBuilder<InventoryDeletionStatusItem.Builder,InventoryDeletionStatusItem>
      Returns:
      a builder for type T
    • builder

      public static InventoryDeletionStatusItem.Builder builder()
    • serializableBuilderClass

      public static Class<? extends InventoryDeletionStatusItem.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      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 an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.