Class CreateIndexResponse

    • Method Detail

      • createdAt

        public final Instant createdAt()

        The date and timestamp when the index was created.

        Returns:
        The date and timestamp when the index was created.
      • state

        public final IndexState state()

        Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.

        The state can remain in the CREATING or UPDATING state for several hours as Resource Explorer discovers the information about your resources and populates the index.

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

        Returns:
        Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.

        The state can remain in the CREATING or UPDATING state for several hours as Resource Explorer discovers the information about your resources and populates the index.

        See Also:
        IndexState
      • stateAsString

        public final String stateAsString()

        Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.

        The state can remain in the CREATING or UPDATING state for several hours as Resource Explorer discovers the information about your resources and populates the index.

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

        Returns:
        Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.

        The state can remain in the CREATING or UPDATING state for several hours as Resource Explorer discovers the information about your resources and populates the index.

        See Also:
        IndexState
      • 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