@Generated(value="software.amazon.awssdk:codegen") public final class ObservabilityConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ObservabilityConfiguration.Builder,ObservabilityConfiguration>
Describes an App Runner observability configuration resource. Multiple revisions of a configuration have the same
ObservabilityConfigurationName and different ObservabilityConfigurationRevision values.
The resource is designed to configure multiple features (currently one feature, tracing). This type contains optional
members that describe the configuration of these features (currently one member, TraceConfiguration). If
a feature member isn't specified, the feature isn't enabled.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ObservabilityConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ObservabilityConfiguration.Builder |
builder() |
Instant |
createdAt()
The time when the observability configuration was created.
|
Instant |
deletedAt()
The time when the observability configuration was deleted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
latest()
It's set to
true for the configuration with the highest Revision among all
configurations that share the same ObservabilityConfigurationName. |
String |
observabilityConfigurationArn()
The Amazon Resource Name (ARN) of this observability configuration.
|
String |
observabilityConfigurationName()
The customer-provided observability configuration name.
|
Integer |
observabilityConfigurationRevision()
The revision of this observability configuration.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ObservabilityConfiguration.Builder> |
serializableBuilderClass() |
ObservabilityConfigurationStatus |
status()
The current state of the observability configuration.
|
String |
statusAsString()
The current state of the observability configuration.
|
ObservabilityConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
TraceConfiguration |
traceConfiguration()
The configuration of the tracing feature within this observability configuration.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String observabilityConfigurationArn()
The Amazon Resource Name (ARN) of this observability configuration.
public final String observabilityConfigurationName()
The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
public final TraceConfiguration traceConfiguration()
The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
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.
"Status": "ACTIVE") that share the same ObservabilityConfigurationName.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.
true for the configuration with the highest Revision among all
configurations that share the same ObservabilityConfigurationName. It's set to
false otherwise.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().
INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently
removed some time after they are deleted.ObservabilityConfigurationStatuspublic 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().
INACTIVE, it was deleted and can't be used. Inactive configuration revisions are permanently
removed some time after they are deleted.ObservabilityConfigurationStatuspublic final Instant createdAt()
The time when the observability configuration was created. It's in Unix time stamp format.
public final Instant deletedAt()
The time when the observability configuration was deleted. It's in Unix time stamp format.
public ObservabilityConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ObservabilityConfiguration.Builder,ObservabilityConfiguration>public static ObservabilityConfiguration.Builder builder()
public static Class<? extends ObservabilityConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.