Class LastUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.timestreamquery.model.LastUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LastUpdate.Builder,LastUpdate>
@Generated("software.amazon.awssdk:codegen") public final class LastUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LastUpdate.Builder,LastUpdate>
Configuration object that contains the most recent account settings update, visible only if settings have been updated previously.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLastUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastUpdate.Builderbuilder()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 LastUpdate.Builder>serializableBuilderClass()LastUpdateStatusstatus()The status of the last update.StringstatusAsString()The status of the last update.StringstatusMessage()Error message describing the last account settings update status, visible only if an error occurred.IntegertargetQueryTCU()The number of TimeStream Compute Units (TCUs) requested in the last account settings update.LastUpdate.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
-
targetQueryTCU
public final Integer targetQueryTCU()
The number of TimeStream Compute Units (TCUs) requested in the last account settings update.
- Returns:
- The number of TimeStream Compute Units (TCUs) requested in the last account settings update.
-
status
public final LastUpdateStatus status()
The status of the last update. Can be either
PENDING,FAILED, orSUCCEEDED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnLastUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the last update. Can be either
PENDING,FAILED, orSUCCEEDED. - See Also:
LastUpdateStatus
-
statusAsString
public final String statusAsString()
The status of the last update. Can be either
PENDING,FAILED, orSUCCEEDED.If the service returns an enum value that is not available in the current SDK version,
statuswill returnLastUpdateStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the last update. Can be either
PENDING,FAILED, orSUCCEEDED. - See Also:
LastUpdateStatus
-
statusMessage
public final String statusMessage()
Error message describing the last account settings update status, visible only if an error occurred.
- Returns:
- Error message describing the last account settings update status, visible only if an error occurred.
-
toBuilder
public LastUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LastUpdate.Builder,LastUpdate>
-
builder
public static LastUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends LastUpdate.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
-
-