Class ScheduledQuerySummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduledQuerySummary.Builder,ScheduledQuerySummary>
Summary information about a scheduled query, used in list operations.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final LongThe time when the scheduled query was created.final DestinationConfigurationConfiguration for destinations where the query results are delivered.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ExecutionStatusThe status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).final StringThe status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).final LongThe time when the scheduled query was last executed.final LongThe time when the scheduled query was last updated.final Stringname()The name of the scheduled query.final StringThe ARN of the scheduled query.final StringThe cron expression that defines when the scheduled query runs.static Class<? extends ScheduledQuerySummary.Builder> final ScheduledQueryStatestate()The current state of the scheduled query (ENABLED or DISABLED).final StringThe current state of the scheduled query (ENABLED or DISABLED).final Stringtimezone()The timezone in which the schedule expression is evaluated.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
scheduledQueryArn
The ARN of the scheduled query.
- Returns:
- The ARN of the scheduled query.
-
name
The name of the scheduled query.
- Returns:
- The name of the scheduled query.
-
state
The current state of the scheduled query (ENABLED or DISABLED).
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:
- The current state of the scheduled query (ENABLED or DISABLED).
- See Also:
-
stateAsString
The current state of the scheduled query (ENABLED or DISABLED).
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:
- The current state of the scheduled query (ENABLED or DISABLED).
- See Also:
-
lastTriggeredTime
The time when the scheduled query was last executed.
- Returns:
- The time when the scheduled query was last executed.
-
lastExecutionStatus
The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).
If the service returns an enum value that is not available in the current SDK version,
lastExecutionStatuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastExecutionStatusAsString().- Returns:
- The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).
- See Also:
-
lastExecutionStatusAsString
The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).
If the service returns an enum value that is not available in the current SDK version,
lastExecutionStatuswill returnExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlastExecutionStatusAsString().- Returns:
- The status of the last execution (Running, Complete, Failed, Timeout, or InvalidQuery).
- See Also:
-
scheduleExpression
The cron expression that defines when the scheduled query runs.
- Returns:
- The cron expression that defines when the scheduled query runs.
-
timezone
The timezone in which the schedule expression is evaluated.
- Returns:
- The timezone in which the schedule expression is evaluated.
-
destinationConfiguration
Configuration for destinations where the query results are delivered.
- Returns:
- Configuration for destinations where the query results are delivered.
-
creationTime
The time when the scheduled query was created.
- Returns:
- The time when the scheduled query was created.
-
lastUpdatedTime
The time when the scheduled query was last updated.
- Returns:
- The time when the scheduled query was last updated.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledQuerySummary.Builder,ScheduledQuerySummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-