Class AgentVersionSummary

    • Method Detail

      • agentName

        public final String agentName()

        The name of the agent to which the version belongs.

        Returns:
        The name of the agent to which the version belongs.
      • agentStatusAsString

        public final String agentStatusAsString()

        The status of the agent to which the version belongs.

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

        Returns:
        The status of the agent to which the version belongs.
        See Also:
        AgentStatus
      • agentVersion

        public final String agentVersion()

        The version of the agent.

        Returns:
        The version of the agent.
      • createdAt

        public final Instant createdAt()

        The time at which the version was created.

        Returns:
        The time at which the version was created.
      • description

        public final String description()

        The description of the version of the agent.

        Returns:
        The description of the version of the agent.
      • updatedAt

        public final Instant updatedAt()

        The time at which the version was last updated.

        Returns:
        The time at which the version 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)