Class EnvironmentInfoDescription

    • Method Detail

      • ec2InstanceId

        public final String ec2InstanceId()

        The Amazon EC2 Instance ID for this information.

        Returns:
        The Amazon EC2 Instance ID for this information.
      • sampleTimestamp

        public final Instant sampleTimestamp()

        The time stamp when this information was retrieved.

        Returns:
        The time stamp when this information was retrieved.
      • message

        public final String message()

        The retrieved information. Currently contains a presigned Amazon S3 URL. The files are deleted after 15 minutes.

        Anyone in possession of this URL can access the files before they are deleted. Make the URL available only to trusted parties.

        Returns:
        The retrieved information. Currently contains a presigned Amazon S3 URL. The files are deleted after 15 minutes.

        Anyone in possession of this URL can access the files before they are deleted. Make the URL available only to trusted parties.

      • 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)