Interface ObservabilityConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ObservabilityConfiguration.Builder,ObservabilityConfiguration>,SdkBuilder<ObservabilityConfiguration.Builder,ObservabilityConfiguration>,SdkPojo
- Enclosing class:
- ObservabilityConfiguration
public static interface ObservabilityConfiguration.Builder extends SdkPojo, CopyableBuilder<ObservabilityConfiguration.Builder,ObservabilityConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ObservabilityConfiguration.BuildercreatedAt(Instant createdAt)The time when the observability configuration was created.ObservabilityConfiguration.BuilderdeletedAt(Instant deletedAt)The time when the observability configuration was deleted.ObservabilityConfiguration.Builderlatest(Boolean latest)It's set totruefor the configuration with the highestRevisionamong all configurations that share the sameObservabilityConfigurationName.ObservabilityConfiguration.BuilderobservabilityConfigurationArn(String observabilityConfigurationArn)The Amazon Resource Name (ARN) of this observability configuration.ObservabilityConfiguration.BuilderobservabilityConfigurationName(String observabilityConfigurationName)The customer-provided observability configuration name.ObservabilityConfiguration.BuilderobservabilityConfigurationRevision(Integer observabilityConfigurationRevision)The revision of this observability configuration.ObservabilityConfiguration.Builderstatus(String status)The current state of the observability configuration.ObservabilityConfiguration.Builderstatus(ObservabilityConfigurationStatus status)The current state of the observability configuration.default ObservabilityConfiguration.BuildertraceConfiguration(Consumer<TraceConfiguration.Builder> traceConfiguration)The configuration of the tracing feature within this observability configuration.ObservabilityConfiguration.BuildertraceConfiguration(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 Detail
-
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
ObservabilityConfiguration.Builder traceConfiguration(TraceConfiguration 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.Builderavoiding the need to create one manually viaTraceConfiguration.builder().When the
Consumercompletes,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:
traceConfiguration(TraceConfiguration)
-
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
ObservabilityConfiguration.Builder latest(Boolean latest)
It's set to
truefor the configuration with the highestRevisionamong all configurations that share the sameObservabilityConfigurationName. It's set tofalseotherwise.- Parameters:
latest- It's set totruefor the configuration with the highestRevisionamong all configurations that share the sameObservabilityConfigurationName. It's set tofalseotherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ObservabilityConfiguration.Builder status(String 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:
ObservabilityConfigurationStatus,ObservabilityConfigurationStatus
-
status
ObservabilityConfiguration.Builder status(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.- 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:
ObservabilityConfigurationStatus,ObservabilityConfigurationStatus
-
createdAt
ObservabilityConfiguration.Builder createdAt(Instant 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
ObservabilityConfiguration.Builder deletedAt(Instant 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.
-
-