Class ScheduledQuerySummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudwatchlogs.model.ScheduledQuerySummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ScheduledQuerySummary.Builder,ScheduledQuerySummary>
@Generated("software.amazon.awssdk:codegen") public final class ScheduledQuerySummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScheduledQuerySummary.Builder,ScheduledQuerySummary>
Summary information about a scheduled query, including basic configuration and execution status.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceScheduledQuerySummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScheduledQuerySummary.Builderbuilder()LongcreationTime()The timestamp when the scheduled query was created.DestinationConfigurationdestinationConfiguration()Configuration for where query results are delivered.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ExecutionStatuslastExecutionStatus()The status of the most recent execution.StringlastExecutionStatusAsString()The status of the most recent execution.LonglastTriggeredTime()The timestamp when the scheduled query was last executed.LonglastUpdatedTime()The timestamp when the scheduled query was last updated.Stringname()The name of the scheduled query.StringscheduledQueryArn()The ARN of the scheduled query.StringscheduleExpression()The cron expression that defines when the scheduled query runs.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ScheduledQuerySummary.Builder>serializableBuilderClass()ScheduledQueryStatestate()The current state of the scheduled query.StringstateAsString()The current state of the scheduled query.Stringtimezone()The timezone used for evaluating the schedule expression.ScheduledQuerySummary.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
-
scheduledQueryArn
public final String scheduledQueryArn()
The ARN of the scheduled query.
- Returns:
- The ARN of the scheduled query.
-
name
public final String name()
The name of the scheduled query.
- Returns:
- The name of the scheduled query.
-
state
public final ScheduledQueryState state()
The current state of the 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:
- The current state of the scheduled query.
- See Also:
ScheduledQueryState
-
stateAsString
public final String stateAsString()
The current state of the 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:
- The current state of the scheduled query.
- See Also:
ScheduledQueryState
-
lastTriggeredTime
public final Long lastTriggeredTime()
The timestamp when the scheduled query was last executed.
- Returns:
- The timestamp when the scheduled query was last executed.
-
lastExecutionStatus
public final ExecutionStatus lastExecutionStatus()
The status of the most recent execution.
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 most recent execution.
- See Also:
ExecutionStatus
-
lastExecutionStatusAsString
public final String lastExecutionStatusAsString()
The status of the most recent execution.
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 most recent execution.
- See Also:
ExecutionStatus
-
scheduleExpression
public final String scheduleExpression()
The cron expression that defines when the scheduled query runs.
- Returns:
- The cron expression that defines when the scheduled query runs.
-
timezone
public final String timezone()
The timezone used for evaluating the schedule expression.
- Returns:
- The timezone used for evaluating the schedule expression.
-
destinationConfiguration
public final DestinationConfiguration destinationConfiguration()
Configuration for where query results are delivered.
- Returns:
- Configuration for where query results are delivered.
-
creationTime
public final Long creationTime()
The timestamp when the scheduled query was created.
- Returns:
- The timestamp when the scheduled query was created.
-
lastUpdatedTime
public final Long lastUpdatedTime()
The timestamp when the scheduled query was last updated.
- Returns:
- The timestamp when the scheduled query was last updated.
-
toBuilder
public ScheduledQuerySummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ScheduledQuerySummary.Builder,ScheduledQuerySummary>
-
builder
public static ScheduledQuerySummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ScheduledQuerySummary.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
-
-