Class MetricStreamEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricStreamEntry.Builder,MetricStreamEntry>
This structure contains the configuration information about one metric stream.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The ARN of the metric stream.static MetricStreamEntry.Builderbuilder()final InstantThe date that the metric stream was originally created.final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe ARN of the Kinesis Firehose devlivery stream that is used for this metric stream.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe date that the configuration of this metric stream was most recently updated.final Stringname()The name of the metric stream.final MetricStreamOutputFormatThe output format of this metric stream.final StringThe output format of this metric stream.static Class<? extends MetricStreamEntry.Builder>final Stringstate()The current state of this stream.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
The ARN of the metric stream.
- Returns:
- The ARN of the metric stream.
-
creationDate
The date that the metric stream was originally created.
- Returns:
- The date that the metric stream was originally created.
-
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
The name of the metric stream.
- Returns:
- The name of the metric stream.
-
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
The current state of this stream. Valid values are
runningandstopped.- Returns:
- The current state of this stream. Valid values are
runningandstopped.
-
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:
-
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:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricStreamEntry.Builder,MetricStreamEntry>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-