Interface TelemetryConfiguration.Builder

    • Method Detail

      • accountIdentifier

        TelemetryConfiguration.Builder accountIdentifier​(String accountIdentifier)

        The account ID which contains the resource managed in telemetry configuration. An example of a valid account ID is 012345678901.

        Parameters:
        accountIdentifier - The account ID which contains the resource managed in telemetry configuration. An example of a valid account ID is 012345678901.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • telemetryConfigurationStateWithStrings

        TelemetryConfiguration.Builder telemetryConfigurationStateWithStrings​(Map<String,​String> telemetryConfigurationState)

        The configuration state for the resource, for example { Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }.

        Parameters:
        telemetryConfigurationState - The configuration state for the resource, for example { Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • telemetryConfigurationState

        TelemetryConfiguration.Builder telemetryConfigurationState​(Map<TelemetryType,​TelemetryState> telemetryConfigurationState)

        The configuration state for the resource, for example { Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }.

        Parameters:
        telemetryConfigurationState - The configuration state for the resource, for example { Logs: NotApplicable; Metrics: Enabled; Traces: NotApplicable; }.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        TelemetryConfiguration.Builder resourceType​(String resourceType)

        The type of resource, for example AWS::EC2::Instance.

        Parameters:
        resourceType - The type of resource, for example AWS::EC2::Instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceType

        TelemetryConfiguration.Builder resourceType​(ResourceType resourceType)

        The type of resource, for example AWS::EC2::Instance.

        Parameters:
        resourceType - The type of resource, for example AWS::EC2::Instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceIdentifier

        TelemetryConfiguration.Builder resourceIdentifier​(String resourceIdentifier)

        The identifier of the resource, for example i-0b22a22eec53b9321.

        Parameters:
        resourceIdentifier - The identifier of the resource, for example i-0b22a22eec53b9321.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        TelemetryConfiguration.Builder resourceTags​(Map<String,​String> resourceTags)

        Tags associated with the resource, for example { Name: "ExampleInstance", Environment: "Development" }.

        Parameters:
        resourceTags - Tags associated with the resource, for example { Name: "ExampleInstance", Environment: "Development" }.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdateTimeStamp

        TelemetryConfiguration.Builder lastUpdateTimeStamp​(Long lastUpdateTimeStamp)

        The timestamp of the last change to the telemetry configuration for the resource. For example, 1728679196318.

        Parameters:
        lastUpdateTimeStamp - The timestamp of the last change to the telemetry configuration for the resource. For example, 1728679196318.
        Returns:
        Returns a reference to this object so that method calls can be chained together.