Class ScheduledQuery
- java.lang.Object
-
- software.amazon.awssdk.services.timestreamquery.model.ScheduledQuery
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduledQuery.Builder,ScheduledQuery>
@Generated("software.amazon.awssdk:codegen") public final class ScheduledQuery extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledQuery.Builder,ScheduledQuery>
Scheduled Query
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduledQuery.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name.static ScheduledQuery.Builderbuilder()InstantcreationTime()The creation time of the scheduled query.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorReportConfigurationerrorReportConfiguration()Configuration for scheduled query error reporting.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ScheduledQueryRunStatuslastRunStatus()Status of the last scheduled query run.StringlastRunStatusAsString()Status of the last scheduled query run.Stringname()The name of the scheduled query.InstantnextInvocationTime()The next time the scheduled query is to be run.InstantpreviousInvocationTime()The last time the scheduled query was run.List<SdkField<?>>sdkFields()static Class<? extends ScheduledQuery.Builder>serializableBuilderClass()ScheduledQueryStatestate()State of scheduled query.StringstateAsString()State of scheduled query.TargetDestinationtargetDestination()Target data source where final scheduled query result will be written.ScheduledQuery.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 Amazon Resource Name.
- Returns:
- The Amazon Resource Name.
-
name
public final String name()
The name of the scheduled query.
- Returns:
- The name of the scheduled query.
-
creationTime
public final Instant creationTime()
The creation time of the scheduled query.
- Returns:
- The creation time of the scheduled query.
-
state
public final ScheduledQueryState state()
State of scheduled query.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScheduledQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- State of scheduled query.
- See Also:
ScheduledQueryState
-
stateAsString
public final String stateAsString()
State of scheduled query.
If the service returns an enum value that is not available in the current SDK version,
statewill returnScheduledQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- State of scheduled query.
- See Also:
ScheduledQueryState
-
previousInvocationTime
public final Instant previousInvocationTime()
The last time the scheduled query was run.
- Returns:
- The last time the scheduled query was run.
-
nextInvocationTime
public final Instant nextInvocationTime()
The next time the scheduled query is to be run.
- Returns:
- The next time the scheduled query is to be run.
-
errorReportConfiguration
public final ErrorReportConfiguration errorReportConfiguration()
Configuration for scheduled query error reporting.
- Returns:
- Configuration for scheduled query error reporting.
-
targetDestination
public final TargetDestination targetDestination()
Target data source where final scheduled query result will be written.
- Returns:
- Target data source where final scheduled query result will be written.
-
lastRunStatus
public final ScheduledQueryRunStatus lastRunStatus()
Status of the last scheduled query run.
If the service returns an enum value that is not available in the current SDK version,
lastRunStatuswill returnScheduledQueryRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRunStatusAsString().- Returns:
- Status of the last scheduled query run.
- See Also:
ScheduledQueryRunStatus
-
lastRunStatusAsString
public final String lastRunStatusAsString()
Status of the last scheduled query run.
If the service returns an enum value that is not available in the current SDK version,
lastRunStatuswill returnScheduledQueryRunStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastRunStatusAsString().- Returns:
- Status of the last scheduled query run.
- See Also:
ScheduledQueryRunStatus
-
toBuilder
public ScheduledQuery.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledQuery.Builder,ScheduledQuery>
-
builder
public static ScheduledQuery.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduledQuery.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.
-
-