Interface MetricStreamEntry.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricStreamEntry.Builder,MetricStreamEntry>,SdkBuilder<MetricStreamEntry.Builder,MetricStreamEntry>,SdkPojo
- Enclosing class:
- MetricStreamEntry
public static interface MetricStreamEntry.Builder extends SdkPojo, CopyableBuilder<MetricStreamEntry.Builder,MetricStreamEntry>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricStreamEntry.Builderarn(String arn)The ARN of the metric stream.MetricStreamEntry.BuildercreationDate(Instant creationDate)The date that the metric stream was originally created.MetricStreamEntry.BuilderfirehoseArn(String firehoseArn)The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.MetricStreamEntry.BuilderlastUpdateDate(Instant lastUpdateDate)The date that the configuration of this metric stream was most recently updated.MetricStreamEntry.Buildername(String name)The name of the metric stream.MetricStreamEntry.BuilderoutputFormat(String outputFormat)The output format of this metric stream.MetricStreamEntry.BuilderoutputFormat(MetricStreamOutputFormat outputFormat)The output format of this metric stream.MetricStreamEntry.Builderstate(String state)The current state of this stream.-
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
-
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
runningandstopped.- Parameters:
state- The current state of this stream. Valid values arerunningandstopped.- 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, andopentelemetry0.7.- Parameters:
outputFormat- The output format of this metric stream. Valid values arejson,opentelemetry1.0, andopentelemetry0.7.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricStreamOutputFormat,MetricStreamOutputFormat
-
outputFormat
MetricStreamEntry.Builder outputFormat(MetricStreamOutputFormat outputFormat)
The output format of this metric stream. Valid values are
json,opentelemetry1.0, andopentelemetry0.7.- Parameters:
outputFormat- The output format of this metric stream. Valid values arejson,opentelemetry1.0, andopentelemetry0.7.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MetricStreamOutputFormat,MetricStreamOutputFormat
-
-