@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScheduledQueryDescription extends Object implements Serializable, Cloneable, StructuredPojo
Structure that describes scheduled query.
Constructor and Description |
---|
ScheduledQueryDescription() |
Modifier and Type | Method and Description |
---|---|
ScheduledQueryDescription |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Scheduled query ARN.
|
Date |
getCreationTime()
Creation time of the scheduled query.
|
ErrorReportConfiguration |
getErrorReportConfiguration()
Error-reporting configuration for the scheduled query.
|
String |
getKmsKeyId()
A customer provided KMS key used to encrypt the scheduled query resource.
|
ScheduledQueryRunSummary |
getLastRunSummary()
Runtime summary for the last scheduled query run.
|
String |
getName()
Name of the scheduled query.
|
Date |
getNextInvocationTime()
The next time the scheduled query is scheduled to run.
|
NotificationConfiguration |
getNotificationConfiguration()
Notification configuration.
|
Date |
getPreviousInvocationTime()
Last time the query was run.
|
String |
getQueryString()
The query to be run.
|
List<ScheduledQueryRunSummary> |
getRecentlyFailedRuns()
Runtime summary for the last five failed scheduled query runs.
|
ScheduleConfiguration |
getScheduleConfiguration()
Schedule configuration.
|
String |
getScheduledQueryExecutionRoleArn()
IAM role that Timestream uses to run the schedule query.
|
String |
getState()
State of the scheduled query.
|
TargetConfiguration |
getTargetConfiguration()
Scheduled query target store configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Scheduled query ARN.
|
void |
setCreationTime(Date creationTime)
Creation time of the scheduled query.
|
void |
setErrorReportConfiguration(ErrorReportConfiguration errorReportConfiguration)
Error-reporting configuration for the scheduled query.
|
void |
setKmsKeyId(String kmsKeyId)
A customer provided KMS key used to encrypt the scheduled query resource.
|
void |
setLastRunSummary(ScheduledQueryRunSummary lastRunSummary)
Runtime summary for the last scheduled query run.
|
void |
setName(String name)
Name of the scheduled query.
|
void |
setNextInvocationTime(Date nextInvocationTime)
The next time the scheduled query is scheduled to run.
|
void |
setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Notification configuration.
|
void |
setPreviousInvocationTime(Date previousInvocationTime)
Last time the query was run.
|
void |
setQueryString(String queryString)
The query to be run.
|
void |
setRecentlyFailedRuns(Collection<ScheduledQueryRunSummary> recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
|
void |
setScheduleConfiguration(ScheduleConfiguration scheduleConfiguration)
Schedule configuration.
|
void |
setScheduledQueryExecutionRoleArn(String scheduledQueryExecutionRoleArn)
IAM role that Timestream uses to run the schedule query.
|
void |
setState(String state)
State of the scheduled query.
|
void |
setTargetConfiguration(TargetConfiguration targetConfiguration)
Scheduled query target store configuration.
|
String |
toString()
Returns a string representation of this object.
|
ScheduledQueryDescription |
withArn(String arn)
Scheduled query ARN.
|
ScheduledQueryDescription |
withCreationTime(Date creationTime)
Creation time of the scheduled query.
|
ScheduledQueryDescription |
withErrorReportConfiguration(ErrorReportConfiguration errorReportConfiguration)
Error-reporting configuration for the scheduled query.
|
ScheduledQueryDescription |
withKmsKeyId(String kmsKeyId)
A customer provided KMS key used to encrypt the scheduled query resource.
|
ScheduledQueryDescription |
withLastRunSummary(ScheduledQueryRunSummary lastRunSummary)
Runtime summary for the last scheduled query run.
|
ScheduledQueryDescription |
withName(String name)
Name of the scheduled query.
|
ScheduledQueryDescription |
withNextInvocationTime(Date nextInvocationTime)
The next time the scheduled query is scheduled to run.
|
ScheduledQueryDescription |
withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Notification configuration.
|
ScheduledQueryDescription |
withPreviousInvocationTime(Date previousInvocationTime)
Last time the query was run.
|
ScheduledQueryDescription |
withQueryString(String queryString)
The query to be run.
|
ScheduledQueryDescription |
withRecentlyFailedRuns(Collection<ScheduledQueryRunSummary> recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
|
ScheduledQueryDescription |
withRecentlyFailedRuns(ScheduledQueryRunSummary... recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
|
ScheduledQueryDescription |
withScheduleConfiguration(ScheduleConfiguration scheduleConfiguration)
Schedule configuration.
|
ScheduledQueryDescription |
withScheduledQueryExecutionRoleArn(String scheduledQueryExecutionRoleArn)
IAM role that Timestream uses to run the schedule query.
|
ScheduledQueryDescription |
withState(ScheduledQueryState state)
State of the scheduled query.
|
ScheduledQueryDescription |
withState(String state)
State of the scheduled query.
|
ScheduledQueryDescription |
withTargetConfiguration(TargetConfiguration targetConfiguration)
Scheduled query target store configuration.
|
public void setArn(String arn)
Scheduled query ARN.
arn
- Scheduled query ARN.public String getArn()
Scheduled query ARN.
public ScheduledQueryDescription withArn(String arn)
Scheduled query ARN.
arn
- Scheduled query ARN.public void setName(String name)
Name of the scheduled query.
name
- Name of the scheduled query.public String getName()
Name of the scheduled query.
public ScheduledQueryDescription withName(String name)
Name of the scheduled query.
name
- Name of the scheduled query.public void setQueryString(String queryString)
The query to be run.
queryString
- The query to be run.public String getQueryString()
The query to be run.
public ScheduledQueryDescription withQueryString(String queryString)
The query to be run.
queryString
- The query to be run.public void setCreationTime(Date creationTime)
Creation time of the scheduled query.
creationTime
- Creation time of the scheduled query.public Date getCreationTime()
Creation time of the scheduled query.
public ScheduledQueryDescription withCreationTime(Date creationTime)
Creation time of the scheduled query.
creationTime
- Creation time of the scheduled query.public void setState(String state)
State of the scheduled query.
state
- State of the scheduled query.ScheduledQueryState
public String getState()
State of the scheduled query.
ScheduledQueryState
public ScheduledQueryDescription withState(String state)
State of the scheduled query.
state
- State of the scheduled query.ScheduledQueryState
public ScheduledQueryDescription withState(ScheduledQueryState state)
State of the scheduled query.
state
- State of the scheduled query.ScheduledQueryState
public void setPreviousInvocationTime(Date previousInvocationTime)
Last time the query was run.
previousInvocationTime
- Last time the query was run.public Date getPreviousInvocationTime()
Last time the query was run.
public ScheduledQueryDescription withPreviousInvocationTime(Date previousInvocationTime)
Last time the query was run.
previousInvocationTime
- Last time the query was run.public void setNextInvocationTime(Date nextInvocationTime)
The next time the scheduled query is scheduled to run.
nextInvocationTime
- The next time the scheduled query is scheduled to run.public Date getNextInvocationTime()
The next time the scheduled query is scheduled to run.
public ScheduledQueryDescription withNextInvocationTime(Date nextInvocationTime)
The next time the scheduled query is scheduled to run.
nextInvocationTime
- The next time the scheduled query is scheduled to run.public void setScheduleConfiguration(ScheduleConfiguration scheduleConfiguration)
Schedule configuration.
scheduleConfiguration
- Schedule configuration.public ScheduleConfiguration getScheduleConfiguration()
Schedule configuration.
public ScheduledQueryDescription withScheduleConfiguration(ScheduleConfiguration scheduleConfiguration)
Schedule configuration.
scheduleConfiguration
- Schedule configuration.public void setNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Notification configuration.
notificationConfiguration
- Notification configuration.public NotificationConfiguration getNotificationConfiguration()
Notification configuration.
public ScheduledQueryDescription withNotificationConfiguration(NotificationConfiguration notificationConfiguration)
Notification configuration.
notificationConfiguration
- Notification configuration.public void setTargetConfiguration(TargetConfiguration targetConfiguration)
Scheduled query target store configuration.
targetConfiguration
- Scheduled query target store configuration.public TargetConfiguration getTargetConfiguration()
Scheduled query target store configuration.
public ScheduledQueryDescription withTargetConfiguration(TargetConfiguration targetConfiguration)
Scheduled query target store configuration.
targetConfiguration
- Scheduled query target store configuration.public void setScheduledQueryExecutionRoleArn(String scheduledQueryExecutionRoleArn)
IAM role that Timestream uses to run the schedule query.
scheduledQueryExecutionRoleArn
- IAM role that Timestream uses to run the schedule query.public String getScheduledQueryExecutionRoleArn()
IAM role that Timestream uses to run the schedule query.
public ScheduledQueryDescription withScheduledQueryExecutionRoleArn(String scheduledQueryExecutionRoleArn)
IAM role that Timestream uses to run the schedule query.
scheduledQueryExecutionRoleArn
- IAM role that Timestream uses to run the schedule query.public void setKmsKeyId(String kmsKeyId)
A customer provided KMS key used to encrypt the scheduled query resource.
kmsKeyId
- A customer provided KMS key used to encrypt the scheduled query resource.public String getKmsKeyId()
A customer provided KMS key used to encrypt the scheduled query resource.
public ScheduledQueryDescription withKmsKeyId(String kmsKeyId)
A customer provided KMS key used to encrypt the scheduled query resource.
kmsKeyId
- A customer provided KMS key used to encrypt the scheduled query resource.public void setErrorReportConfiguration(ErrorReportConfiguration errorReportConfiguration)
Error-reporting configuration for the scheduled query.
errorReportConfiguration
- Error-reporting configuration for the scheduled query.public ErrorReportConfiguration getErrorReportConfiguration()
Error-reporting configuration for the scheduled query.
public ScheduledQueryDescription withErrorReportConfiguration(ErrorReportConfiguration errorReportConfiguration)
Error-reporting configuration for the scheduled query.
errorReportConfiguration
- Error-reporting configuration for the scheduled query.public void setLastRunSummary(ScheduledQueryRunSummary lastRunSummary)
Runtime summary for the last scheduled query run.
lastRunSummary
- Runtime summary for the last scheduled query run.public ScheduledQueryRunSummary getLastRunSummary()
Runtime summary for the last scheduled query run.
public ScheduledQueryDescription withLastRunSummary(ScheduledQueryRunSummary lastRunSummary)
Runtime summary for the last scheduled query run.
lastRunSummary
- Runtime summary for the last scheduled query run.public List<ScheduledQueryRunSummary> getRecentlyFailedRuns()
Runtime summary for the last five failed scheduled query runs.
public void setRecentlyFailedRuns(Collection<ScheduledQueryRunSummary> recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
recentlyFailedRuns
- Runtime summary for the last five failed scheduled query runs.public ScheduledQueryDescription withRecentlyFailedRuns(ScheduledQueryRunSummary... recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
NOTE: This method appends the values to the existing list (if any). Use
setRecentlyFailedRuns(java.util.Collection)
or withRecentlyFailedRuns(java.util.Collection)
if
you want to override the existing values.
recentlyFailedRuns
- Runtime summary for the last five failed scheduled query runs.public ScheduledQueryDescription withRecentlyFailedRuns(Collection<ScheduledQueryRunSummary> recentlyFailedRuns)
Runtime summary for the last five failed scheduled query runs.
recentlyFailedRuns
- Runtime summary for the last five failed scheduled query runs.public String toString()
toString
in class Object
Object.toString()
public ScheduledQueryDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.