@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceObservabilityConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the observability configuration of an App Runner service. These are additional observability features, like tracing, that you choose to enable. They're configured in a separate resource that you associate with your service.
| Constructor and Description |
|---|
ServiceObservabilityConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ServiceObservabilityConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getObservabilityConfigurationArn()
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.
|
Boolean |
getObservabilityEnabled()
When
true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified. |
int |
hashCode() |
Boolean |
isObservabilityEnabled()
When
true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setObservabilityConfigurationArn(String observabilityConfigurationArn)
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.
|
void |
setObservabilityEnabled(Boolean observabilityEnabled)
When
true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified. |
String |
toString()
Returns a string representation of this object.
|
ServiceObservabilityConfiguration |
withObservabilityConfigurationArn(String observabilityConfigurationArn)
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.
|
ServiceObservabilityConfiguration |
withObservabilityEnabled(Boolean observabilityEnabled)
When
true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified. |
public void setObservabilityEnabled(Boolean observabilityEnabled)
When true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.
observabilityEnabled - When true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.public Boolean getObservabilityEnabled()
When true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.
true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.public ServiceObservabilityConfiguration withObservabilityEnabled(Boolean observabilityEnabled)
When true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.
observabilityEnabled - When true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.public Boolean isObservabilityEnabled()
When true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.
true, an observability configuration resource is associated with the service, and an
ObservabilityConfigurationArn is specified.public void setObservabilityConfigurationArn(String observabilityConfigurationArn)
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified
only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
observabilityConfigurationArn - The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.
Specified only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
public String getObservabilityConfigurationArn()
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified
only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
public ServiceObservabilityConfiguration withObservabilityConfigurationArn(String observabilityConfigurationArn)
The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified
only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
observabilityConfigurationArn - The Amazon Resource Name (ARN) of the observability configuration that is associated with the service.
Specified only when ObservabilityEnabled is true.
Specify an ARN with a name and a revision number to associate that revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3
Specify just the name to associate the latest revision. For example:
arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing
public String toString()
toString in class ObjectObject.toString()public ServiceObservabilityConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.