Class CanaryScheduleOutput
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<CanaryScheduleOutput.Builder,- CanaryScheduleOutput> 
 How long, in seconds, for the canary to continue making regular runs according to the schedule in the
 Expression value.
 
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionstatic CanaryScheduleOutput.Builderbuilder()final LongHow long, in seconds, for the canary to continue making regular runs after it was created.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringArateexpression or acronexpression that defines how often the canary is to run.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final RetryConfigOutputA structure that contains the retry configuration for a canarystatic Class<? extends CanaryScheduleOutput.Builder> 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.ToCopyableBuildercopy
- 
Method Details- 
expressionA rateexpression or acronexpression that defines how often the canary is to run.For a rate expression, The syntax is rate(number unit). unit can beminute,minutes, orhour.For example, rate(1 minute)runs the canary once a minute,rate(10 minutes)runs it once every 10 minutes, andrate(1 hour)runs it once every hour. You can specify a frequency betweenrate(1 minute)andrate(1 hour).Specifying rate(0 minute)orrate(0 hour)is a special value that causes the canary to run only once when it is started.Use cron(expression)to specify a cron expression. For information about the syntax for cron expressions, see Scheduling canary runs using cron.- Returns:
- A rateexpression or acronexpression that defines how often the canary is to run.For a rate expression, The syntax is rate(number unit). unit can beminute,minutes, orhour.For example, rate(1 minute)runs the canary once a minute,rate(10 minutes)runs it once every 10 minutes, andrate(1 hour)runs it once every hour. You can specify a frequency betweenrate(1 minute)andrate(1 hour).Specifying rate(0 minute)orrate(0 hour)is a special value that causes the canary to run only once when it is started.Use cron(expression)to specify a cron expression. For information about the syntax for cron expressions, see Scheduling canary runs using cron.
 
- 
durationInSecondsHow long, in seconds, for the canary to continue making regular runs after it was created. The runs are performed according to the schedule in the Expressionvalue.- Returns:
- How long, in seconds, for the canary to continue making regular runs after it was created. The runs are
         performed according to the schedule in the Expressionvalue.
 
- 
retryConfigA structure that contains the retry configuration for a canary - Returns:
- A structure that contains the retry configuration for a canary
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<CanaryScheduleOutput.Builder,- CanaryScheduleOutput> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription 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 interface- SdkPojo
- 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 interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-