Interface ObservabilityConfiguration.Builder

    • 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.
      • 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 same ObservabilityConfigurationName.

        Parameters:
        observabilityConfigurationRevision - The revision of this observability configuration. It's unique among all the active configurations ( "Status": "ACTIVE") that share the same ObservabilityConfigurationName.
        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 true for the configuration with the highest Revision among all configurations that share the same ObservabilityConfigurationName. It's set to false otherwise.

        Parameters:
        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:
        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 is INACTIVE, 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 is INACTIVE, 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.