Class GroupingStatusesItem

    • Method Detail

      • resourceArn

        public final String resourceArn()

        The Amazon resource name (ARN) of a resource.

        Returns:
        The Amazon resource name (ARN) of a resource.
      • action

        public final GroupingType action()

        Describes the resource grouping action with values of GROUP or UNGROUP.

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

        Returns:
        Describes the resource grouping action with values of GROUP or UNGROUP.
        See Also:
        GroupingType
      • actionAsString

        public final String actionAsString()

        Describes the resource grouping action with values of GROUP or UNGROUP.

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

        Returns:
        Describes the resource grouping action with values of GROUP or UNGROUP.
        See Also:
        GroupingType
      • status

        public final GroupingStatus status()

        Describes the resource grouping status with values of SUCCESS, FAILED, IN_PROGRESS, or SKIPPED.

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

        Returns:
        Describes the resource grouping status with values of SUCCESS, FAILED, IN_PROGRESS, or SKIPPED.
        See Also:
        GroupingStatus
      • statusAsString

        public final String statusAsString()

        Describes the resource grouping status with values of SUCCESS, FAILED, IN_PROGRESS, or SKIPPED.

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

        Returns:
        Describes the resource grouping status with values of SUCCESS, FAILED, IN_PROGRESS, or SKIPPED.
        See Also:
        GroupingStatus
      • errorMessage

        public final String errorMessage()

        A message that explains the ErrorCode.

        Returns:
        A message that explains the ErrorCode.
      • errorCode

        public final String errorCode()

        Specifies the error code that was raised.

        Returns:
        Specifies the error code that was raised.
      • updatedAt

        public final Instant updatedAt()

        A timestamp of when the status was last updated.

        Returns:
        A timestamp of when the status was last updated.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)