Class BaselineOperation

    • Method Detail

      • endTime

        public final Instant endTime()

        The end time of the operation (if applicable), in ISO 8601 format.

        Returns:
        The end time of the operation (if applicable), in ISO 8601 format.
      • operationIdentifier

        public final String operationIdentifier()

        The identifier of the specified operation.

        Returns:
        The identifier of the specified operation.
      • operationType

        public final BaselineOperationType operationType()

        An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE.

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

        Returns:
        An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE.
        See Also:
        BaselineOperationType
      • operationTypeAsString

        public final String operationTypeAsString()

        An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE.

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

        Returns:
        An enumerated type (enum) with possible values of ENABLE_BASELINE, DISABLE_BASELINE, UPDATE_ENABLED_BASELINE, or RESET_ENABLED_BASELINE.
        See Also:
        BaselineOperationType
      • startTime

        public final Instant startTime()

        The start time of the operation, in ISO 8601 format.

        Returns:
        The start time of the operation, in ISO 8601 format.
      • statusAsString

        public final String statusAsString()

        An enumerated type (enum) with possible values of SUCCEEDED, FAILED, or IN_PROGRESS.

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

        Returns:
        An enumerated type (enum) with possible values of SUCCEEDED, FAILED, or IN_PROGRESS.
        See Also:
        BaselineOperationStatus
      • statusMessage

        public final String statusMessage()

        A status message that gives more information about the operation's status, if applicable.

        Returns:
        A status message that gives more information about the operation's status, if applicable.
      • 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)