Class AsyncOperation

    • Method Detail

      • creationTime

        public final Instant creationTime()

        The time that the request was sent to the service.

        Returns:
        The time that the request was sent to the service.
      • operationAsString

        public final String operationAsString()

        The specific operation for the asynchronous request.

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

        Returns:
        The specific operation for the asynchronous request.
        See Also:
        AsyncOperationName
      • requestTokenARN

        public final String requestTokenARN()

        The request token associated with the request.

        Returns:
        The request token associated with the request.
      • requestParameters

        public final AsyncRequestParameters requestParameters()

        The parameters associated with the request.

        Returns:
        The parameters associated with the request.
      • requestStatus

        public final String requestStatus()

        The current status of the request.

        Returns:
        The current status of the request.
      • responseDetails

        public final AsyncResponseDetails responseDetails()

        The details of the response.

        Returns:
        The details of the response.
      • 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)