Class CapacityManagerMonitoredTagKey
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.CapacityManagerMonitoredTagKey
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CapacityManagerMonitoredTagKey.Builder,CapacityManagerMonitoredTagKey>
@Generated("software.amazon.awssdk:codegen") public final class CapacityManagerMonitoredTagKey extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CapacityManagerMonitoredTagKey.Builder,CapacityManagerMonitoredTagKey>
Describes a tag key that is being monitored by Capacity Manager, including its activation status and the earliest available data point.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCapacityManagerMonitoredTagKey.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CapacityManagerMonitoredTagKey.Builderbuilder()BooleancapacityManagerProvided()Indicates whether this tag key is provided by Capacity Manager by default, rather than being user-activated.InstantearliestDatapointTimestamp()The earliest timestamp from which tag data is available for queries, in UTC ISO 8601 format.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CapacityManagerMonitoredTagKey.Builder>serializableBuilderClass()CapacityManagerMonitoredTagKeyStatusstatus()The current status of the monitored tag key.StringstatusAsString()The current status of the monitored tag key.StringstatusMessage()A message providing additional details about the current status of the monitored tag key.StringtagKey()The tag key being monitored.CapacityManagerMonitoredTagKey.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
-
tagKey
public final String tagKey()
The tag key being monitored.
- Returns:
- The tag key being monitored.
-
status
public final CapacityManagerMonitoredTagKeyStatus status()
The current status of the monitored tag key. Valid values are
activating,activated,deactivating, andsuspended.If the service returns an enum value that is not available in the current SDK version,
statuswill returnCapacityManagerMonitoredTagKeyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the monitored tag key. Valid values are
activating,activated,deactivating, andsuspended. - See Also:
CapacityManagerMonitoredTagKeyStatus
-
statusAsString
public final String statusAsString()
The current status of the monitored tag key. Valid values are
activating,activated,deactivating, andsuspended.If the service returns an enum value that is not available in the current SDK version,
statuswill returnCapacityManagerMonitoredTagKeyStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the monitored tag key. Valid values are
activating,activated,deactivating, andsuspended. - See Also:
CapacityManagerMonitoredTagKeyStatus
-
statusMessage
public final String statusMessage()
A message providing additional details about the current status of the monitored tag key.
- Returns:
- A message providing additional details about the current status of the monitored tag key.
-
capacityManagerProvided
public final Boolean capacityManagerProvided()
Indicates whether this tag key is provided by Capacity Manager by default, rather than being user-activated.
- Returns:
- Indicates whether this tag key is provided by Capacity Manager by default, rather than being user-activated.
-
earliestDatapointTimestamp
public final Instant earliestDatapointTimestamp()
The earliest timestamp from which tag data is available for queries, in UTC ISO 8601 format.
- Returns:
- The earliest timestamp from which tag data is available for queries, in UTC ISO 8601 format.
-
toBuilder
public CapacityManagerMonitoredTagKey.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CapacityManagerMonitoredTagKey.Builder,CapacityManagerMonitoredTagKey>
-
builder
public static CapacityManagerMonitoredTagKey.Builder builder()
-
serializableBuilderClass
public static Class<? extends CapacityManagerMonitoredTagKey.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
-
-