@Generated(value="software.amazon.awssdk:codegen") public final class ScheduledQueryDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledQueryDescription.Builder,ScheduledQueryDescription>
Structure that describes scheduled query.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScheduledQueryDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
Scheduled query ARN.
|
static ScheduledQueryDescription.Builder |
builder() |
Instant |
creationTime()
Creation time of the scheduled query.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorReportConfiguration |
errorReportConfiguration()
Error-reporting configuration for the scheduled query.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRecentlyFailedRuns()
For responses, this returns true if the service returned a value for the RecentlyFailedRuns property.
|
String |
kmsKeyId()
A customer provided KMS key used to encrypt the scheduled query resource.
|
ScheduledQueryRunSummary |
lastRunSummary()
Runtime summary for the last scheduled query run.
|
String |
name()
Name of the scheduled query.
|
Instant |
nextInvocationTime()
The next time the scheduled query is scheduled to run.
|
NotificationConfiguration |
notificationConfiguration()
Notification configuration.
|
Instant |
previousInvocationTime()
Last time the query was run.
|
String |
queryString()
The query to be run.
|
List<ScheduledQueryRunSummary> |
recentlyFailedRuns()
Runtime summary for the last five failed scheduled query runs.
|
ScheduleConfiguration |
scheduleConfiguration()
Schedule configuration.
|
String |
scheduledQueryExecutionRoleArn()
IAM role that Timestream uses to run the schedule query.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScheduledQueryDescription.Builder> |
serializableBuilderClass() |
ScheduledQueryState |
state()
State of the scheduled query.
|
String |
stateAsString()
State of the scheduled query.
|
TargetConfiguration |
targetConfiguration()
Scheduled query target store configuration.
|
ScheduledQueryDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
Scheduled query ARN.
public final String name()
Name of the scheduled query.
public final String queryString()
The query to be run.
public final Instant creationTime()
Creation time of the scheduled query.
public final ScheduledQueryState state()
State of the scheduled query.
If the service returns an enum value that is not available in the current SDK version, state will return
ScheduledQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ScheduledQueryStatepublic final String stateAsString()
State of the scheduled query.
If the service returns an enum value that is not available in the current SDK version, state will return
ScheduledQueryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
ScheduledQueryStatepublic final Instant previousInvocationTime()
Last time the query was run.
public final Instant nextInvocationTime()
The next time the scheduled query is scheduled to run.
public final ScheduleConfiguration scheduleConfiguration()
Schedule configuration.
public final NotificationConfiguration notificationConfiguration()
Notification configuration.
public final TargetConfiguration targetConfiguration()
Scheduled query target store configuration.
public final String scheduledQueryExecutionRoleArn()
IAM role that Timestream uses to run the schedule query.
public final String kmsKeyId()
A customer provided KMS key used to encrypt the scheduled query resource.
public final ErrorReportConfiguration errorReportConfiguration()
Error-reporting configuration for the scheduled query.
public final ScheduledQueryRunSummary lastRunSummary()
Runtime summary for the last scheduled query run.
public final boolean hasRecentlyFailedRuns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ScheduledQueryRunSummary> recentlyFailedRuns()
Runtime summary for the last five failed scheduled query runs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRecentlyFailedRuns() method.
public ScheduledQueryDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScheduledQueryDescription.Builder,ScheduledQueryDescription>public static ScheduledQueryDescription.Builder builder()
public static Class<? extends ScheduledQueryDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.