@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlexibleTimeWindow extends Object implements Serializable, Cloneable, StructuredPojo
Allows you to configure a time window during which EventBridge Scheduler invokes the schedule.
Constructor and Description |
---|
FlexibleTimeWindow() |
Modifier and Type | Method and Description |
---|---|
FlexibleTimeWindow |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaximumWindowInMinutes()
The maximum time window during which a schedule can be invoked.
|
String |
getMode()
Determines whether the schedule is invoked within a flexible time window.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMaximumWindowInMinutes(Integer maximumWindowInMinutes)
The maximum time window during which a schedule can be invoked.
|
void |
setMode(String mode)
Determines whether the schedule is invoked within a flexible time window.
|
String |
toString()
Returns a string representation of this object.
|
FlexibleTimeWindow |
withMaximumWindowInMinutes(Integer maximumWindowInMinutes)
The maximum time window during which a schedule can be invoked.
|
FlexibleTimeWindow |
withMode(FlexibleTimeWindowMode mode)
Determines whether the schedule is invoked within a flexible time window.
|
FlexibleTimeWindow |
withMode(String mode)
Determines whether the schedule is invoked within a flexible time window.
|
public void setMaximumWindowInMinutes(Integer maximumWindowInMinutes)
The maximum time window during which a schedule can be invoked.
maximumWindowInMinutes
- The maximum time window during which a schedule can be invoked.public Integer getMaximumWindowInMinutes()
The maximum time window during which a schedule can be invoked.
public FlexibleTimeWindow withMaximumWindowInMinutes(Integer maximumWindowInMinutes)
The maximum time window during which a schedule can be invoked.
maximumWindowInMinutes
- The maximum time window during which a schedule can be invoked.public void setMode(String mode)
Determines whether the schedule is invoked within a flexible time window.
mode
- Determines whether the schedule is invoked within a flexible time window.FlexibleTimeWindowMode
public String getMode()
Determines whether the schedule is invoked within a flexible time window.
FlexibleTimeWindowMode
public FlexibleTimeWindow withMode(String mode)
Determines whether the schedule is invoked within a flexible time window.
mode
- Determines whether the schedule is invoked within a flexible time window.FlexibleTimeWindowMode
public FlexibleTimeWindow withMode(FlexibleTimeWindowMode mode)
Determines whether the schedule is invoked within a flexible time window.
mode
- Determines whether the schedule is invoked within a flexible time window.FlexibleTimeWindowMode
public String toString()
toString
in class Object
Object.toString()
public FlexibleTimeWindow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.