Interface MetricStreamEntry.Builder

    • Method Detail

      • arn

        MetricStreamEntry.Builder arn​(String arn)

        The ARN of the metric stream.

        Parameters:
        arn - The ARN of the metric stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        MetricStreamEntry.Builder creationDate​(Instant creationDate)

        The date that the metric stream was originally created.

        Parameters:
        creationDate - The date that the metric stream was originally created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdateDate

        MetricStreamEntry.Builder lastUpdateDate​(Instant lastUpdateDate)

        The date that the configuration of this metric stream was most recently updated.

        Parameters:
        lastUpdateDate - The date that the configuration of this metric stream was most recently updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        MetricStreamEntry.Builder name​(String name)

        The name of the metric stream.

        Parameters:
        name - The name of the metric stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • firehoseArn

        MetricStreamEntry.Builder firehoseArn​(String firehoseArn)

        The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.

        Parameters:
        firehoseArn - The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        MetricStreamEntry.Builder state​(String state)

        The current state of this stream. Valid values are running and stopped.

        Parameters:
        state - The current state of this stream. Valid values are running and stopped.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputFormat

        MetricStreamEntry.Builder outputFormat​(String outputFormat)

        The output format of this metric stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7.

        Parameters:
        outputFormat - The output format of this metric stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricStreamOutputFormat, MetricStreamOutputFormat