Interface ObservabilityConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ObservabilityConfiguration.Builder,
,ObservabilityConfiguration> SdkBuilder<ObservabilityConfiguration.Builder,
,ObservabilityConfiguration> SdkPojo
- Enclosing class:
ObservabilityConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe time when the observability configuration was created.The time when the observability configuration was deleted.It's set totrue
for the configuration with the highestRevision
among all configurations that share the sameObservabilityConfigurationName
.observabilityConfigurationArn
(String observabilityConfigurationArn) The Amazon Resource Name (ARN) of this observability configuration.observabilityConfigurationName
(String observabilityConfigurationName) The customer-provided observability configuration name.observabilityConfigurationRevision
(Integer observabilityConfigurationRevision) The revision of this observability configuration.The current state of the observability configuration.The current state of the observability configuration.traceConfiguration
(Consumer<TraceConfiguration.Builder> traceConfiguration) The configuration of the tracing feature within this observability configuration.traceConfiguration
(TraceConfiguration traceConfiguration) The configuration of the tracing feature within this observability configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
observabilityConfigurationArn
ObservabilityConfiguration.Builder observabilityConfigurationArn(String observabilityConfigurationArn) The Amazon Resource Name (ARN) of this observability configuration.
- Parameters:
observabilityConfigurationArn
- The Amazon Resource Name (ARN) of this observability configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observabilityConfigurationName
ObservabilityConfiguration.Builder observabilityConfigurationName(String observabilityConfigurationName) The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.
- Parameters:
observabilityConfigurationName
- The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceConfiguration
The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
- Parameters:
traceConfiguration
- The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceConfiguration
default ObservabilityConfiguration.Builder traceConfiguration(Consumer<TraceConfiguration.Builder> traceConfiguration) The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.
This is a convenience method that creates an instance of theTraceConfiguration.Builder
avoiding the need to create one manually viaTraceConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totraceConfiguration(TraceConfiguration)
.- Parameters:
traceConfiguration
- a consumer that will call methods onTraceConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
observabilityConfigurationRevision
ObservabilityConfiguration.Builder observabilityConfigurationRevision(Integer observabilityConfigurationRevision) The revision of this observability configuration. It's unique among all the active configurations (
"Status": "ACTIVE"
) that share the sameObservabilityConfigurationName
.- Parameters:
observabilityConfigurationRevision
- The revision of this observability configuration. It's unique among all the active configurations ("Status": "ACTIVE"
) that share the sameObservabilityConfigurationName
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latest
It's set to
true
for the configuration with the highestRevision
among all configurations that share the sameObservabilityConfigurationName
. It's set tofalse
otherwise.- Parameters:
latest
- It's set totrue
for the configuration with the highestRevision
among all configurations that share the sameObservabilityConfigurationName
. It's set tofalse
otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
status
- The current state of the observability configuration. If the status of a configuration revision isINACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
status
- The current state of the observability configuration. If the status of a configuration revision isINACTIVE
, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The time when the observability configuration was created. It's in Unix time stamp format.
- Parameters:
createdAt
- The time when the observability configuration was created. It's in Unix time stamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletedAt
The time when the observability configuration was deleted. It's in Unix time stamp format.
- Parameters:
deletedAt
- The time when the observability configuration was deleted. It's in Unix time stamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-