Class LabelOptions
java.lang.Object
software.amazon.awssdk.services.cloudwatch.model.LabelOptions
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LabelOptions.Builder,LabelOptions>
@Generated("software.amazon.awssdk:codegen")
public final class LabelOptions
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<LabelOptions.Builder,LabelOptions>
This structure includes the Timezone parameter, which you can use to specify your time zone so that the
labels that are associated with returned metrics display the correct time for your time zone.
The Timezone value affects a label only if you have a time-based dynamic expression in the label. For
more information about dynamic expressions in labels, see Using Dynamic
Labels.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelOptions.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends LabelOptions.Builder>final Stringtimezone()The time zone to use for metric data return in this operation.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
-
timezone
The time zone to use for metric data return in this operation. The format is
+or-followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.- Returns:
- The time zone to use for metric data return in this operation. The format is
+or-followed by four digits. The first two digits indicate the number of hours ahead or behind of UTC, and the final two digits are the number of minutes. For example, +0130 indicates a time zone that is 1 hour and 30 minutes ahead of UTC. The default is +0000.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LabelOptions.Builder,LabelOptions>
-
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
-