Class MetricStreamEntry
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatch.model.MetricStreamEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricStreamEntry.Builder,MetricStreamEntry>
@Generated("software.amazon.awssdk:codegen") public final class MetricStreamEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricStreamEntry.Builder,MetricStreamEntry>
This structure contains the configuration information about one metric stream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricStreamEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the metric stream.static MetricStreamEntry.Builderbuilder()InstantcreationDate()The date that the metric stream was originally created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfirehoseArn()The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdateDate()The date that the configuration of this metric stream was most recently updated.Stringname()The name of the metric stream.MetricStreamOutputFormatoutputFormat()The output format of this metric stream.StringoutputFormatAsString()The output format of this metric stream.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MetricStreamEntry.Builder>serializableBuilderClass()Stringstate()The current state of this stream.MetricStreamEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The ARN of the metric stream.
- Returns:
- The ARN of the metric stream.
-
creationDate
public final Instant creationDate()
The date that the metric stream was originally created.
- Returns:
- The date that the metric stream was originally created.
-
lastUpdateDate
public final Instant lastUpdateDate()
The date that the configuration of this metric stream was most recently updated.
- Returns:
- The date that the configuration of this metric stream was most recently updated.
-
name
public final String name()
The name of the metric stream.
- Returns:
- The name of the metric stream.
-
firehoseArn
public final String firehoseArn()
The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
- Returns:
- The ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.
-
state
public final String state()
The current state of this stream. Valid values are
runningandstopped.- Returns:
- The current state of this stream. Valid values are
runningandstopped.
-
outputFormat
public final MetricStreamOutputFormat outputFormat()
The output format of this metric stream. Valid values are
json,opentelemetry1.0, andopentelemetry0.7.If the service returns an enum value that is not available in the current SDK version,
outputFormatwill returnMetricStreamOutputFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputFormatAsString().- Returns:
- The output format of this metric stream. Valid values are
json,opentelemetry1.0, andopentelemetry0.7. - See Also:
MetricStreamOutputFormat
-
outputFormatAsString
public final String outputFormatAsString()
The output format of this metric stream. Valid values are
json,opentelemetry1.0, andopentelemetry0.7.If the service returns an enum value that is not available in the current SDK version,
outputFormatwill returnMetricStreamOutputFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoutputFormatAsString().- Returns:
- The output format of this metric stream. Valid values are
json,opentelemetry1.0, andopentelemetry0.7. - See Also:
MetricStreamOutputFormat
-
toBuilder
public MetricStreamEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricStreamEntry.Builder,MetricStreamEntry>
-
builder
public static MetricStreamEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricStreamEntry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-