Class ObservabilityConfiguration

    • Method Detail

      • observabilityConfigurationArn

        public final String observabilityConfigurationArn()

        The Amazon Resource Name (ARN) of this observability configuration.

        Returns:
        The Amazon Resource Name (ARN) of this observability configuration.
      • observabilityConfigurationName

        public final String observabilityConfigurationName()

        The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.

        Returns:
        The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
      • traceConfiguration

        public final TraceConfiguration traceConfiguration()

        The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.

        Returns:
        The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
      • observabilityConfigurationRevision

        public final Integer observabilityConfigurationRevision()

        The revision of this observability configuration. It's unique among all the active configurations ( "Status": "ACTIVE") that share the same ObservabilityConfigurationName.

        Returns:
        The revision of this observability configuration. It's unique among all the active configurations ( "Status": "ACTIVE") that share the same ObservabilityConfigurationName.
      • latest

        public final Boolean latest()

        It's set to true for the configuration with the highest Revision among all configurations that share the same ObservabilityConfigurationName. It's set to false otherwise.

        Returns:
        It's set to true for the configuration with the highest Revision among all configurations that share the same ObservabilityConfigurationName. It's set to false otherwise.
      • status

        public final ObservabilityConfigurationStatus status()

        The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.

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

        Returns:
        The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
        See Also:
        ObservabilityConfigurationStatus
      • statusAsString

        public final String statusAsString()

        The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.

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

        Returns:
        The current state of the observability configuration. If the status of a configuration revision is INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.
        See Also:
        ObservabilityConfigurationStatus
      • createdAt

        public final Instant createdAt()

        The time when the observability configuration was created. It's in Unix time stamp format.

        Returns:
        The time when the observability configuration was created. It's in Unix time stamp format.
      • deletedAt

        public final Instant deletedAt()

        The time when the observability configuration was deleted. It's in Unix time stamp format.

        Returns:
        The time when the observability configuration was deleted. It's in Unix time stamp format.
      • 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)