@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Schedule extends Object implements Serializable, Cloneable, StructuredPojo
A schedule configures how often and when a pipeline will automatically create a new image.
Constructor and Description |
---|
Schedule() |
Modifier and Type | Method and Description |
---|---|
Schedule |
clone() |
boolean |
equals(Object obj) |
String |
getPipelineExecutionStartCondition()
The condition configures when the pipeline should trigger a new image build.
|
String |
getScheduleExpression()
The expression determines how often EC2 Image Builder evaluates your
pipelineExecutionStartCondition
. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPipelineExecutionStartCondition(String pipelineExecutionStartCondition)
The condition configures when the pipeline should trigger a new image build.
|
void |
setScheduleExpression(String scheduleExpression)
The expression determines how often EC2 Image Builder evaluates your
pipelineExecutionStartCondition
. |
String |
toString()
Returns a string representation of this object.
|
Schedule |
withPipelineExecutionStartCondition(PipelineExecutionStartCondition pipelineExecutionStartCondition)
The condition configures when the pipeline should trigger a new image build.
|
Schedule |
withPipelineExecutionStartCondition(String pipelineExecutionStartCondition)
The condition configures when the pipeline should trigger a new image build.
|
Schedule |
withScheduleExpression(String scheduleExpression)
The expression determines how often EC2 Image Builder evaluates your
pipelineExecutionStartCondition
. |
public void setScheduleExpression(String scheduleExpression)
The expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition
.
scheduleExpression
- The expression determines how often EC2 Image Builder evaluates your
pipelineExecutionStartCondition
.public String getScheduleExpression()
The expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition
.
pipelineExecutionStartCondition
.public Schedule withScheduleExpression(String scheduleExpression)
The expression determines how often EC2 Image Builder evaluates your pipelineExecutionStartCondition
.
scheduleExpression
- The expression determines how often EC2 Image Builder evaluates your
pipelineExecutionStartCondition
.public void setPipelineExecutionStartCondition(String pipelineExecutionStartCondition)
The condition configures when the pipeline should trigger a new image build. When the
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image only
when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will build a new
image every time the CRON expression matches the current time.
pipelineExecutionStartCondition
- The condition configures when the pipeline should trigger a new image build. When the
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image
only when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will
build a new image every time the CRON expression matches the current time.PipelineExecutionStartCondition
public String getPipelineExecutionStartCondition()
The condition configures when the pipeline should trigger a new image build. When the
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image only
when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will build a new
image every time the CRON expression matches the current time.
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image
only when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will
build a new image every time the CRON expression matches the current time.PipelineExecutionStartCondition
public Schedule withPipelineExecutionStartCondition(String pipelineExecutionStartCondition)
The condition configures when the pipeline should trigger a new image build. When the
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image only
when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will build a new
image every time the CRON expression matches the current time.
pipelineExecutionStartCondition
- The condition configures when the pipeline should trigger a new image build. When the
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image
only when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will
build a new image every time the CRON expression matches the current time.PipelineExecutionStartCondition
public Schedule withPipelineExecutionStartCondition(PipelineExecutionStartCondition pipelineExecutionStartCondition)
The condition configures when the pipeline should trigger a new image build. When the
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image only
when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will build a new
image every time the CRON expression matches the current time.
pipelineExecutionStartCondition
- The condition configures when the pipeline should trigger a new image build. When the
pipelineExecutionStartCondition
is set to
EXPRESSION_MATCH_AND_DEPENDENCY_UPDATES_AVAILABLE
, EC2 Image Builder will build a new image
only when there are known changes pending. When it is set to EXPRESSION_MATCH_ONLY
, it will
build a new image every time the CRON expression matches the current time.PipelineExecutionStartCondition
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.