public class ActivatePipelineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ActivatePipeline operation
.
Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.
If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline.
To activate a finished pipeline, modify the end date for the pipeline and then activate it.
NOOP
Constructor and Description |
---|
ActivatePipelineRequest() |
Modifier and Type | Method and Description |
---|---|
ActivatePipelineRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<ParameterValue> |
getParameterValues()
A list of parameter values to pass to the pipeline at activation.
|
String |
getPipelineId()
The ID of the pipeline.
|
Date |
getStartTimestamp()
The date and time to resume the pipeline.
|
int |
hashCode() |
void |
setParameterValues(Collection<ParameterValue> parameterValues)
A list of parameter values to pass to the pipeline at activation.
|
void |
setPipelineId(String pipelineId)
The ID of the pipeline.
|
void |
setStartTimestamp(Date startTimestamp)
The date and time to resume the pipeline.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivatePipelineRequest |
withParameterValues(Collection<ParameterValue> parameterValues)
A list of parameter values to pass to the pipeline at activation.
|
ActivatePipelineRequest |
withParameterValues(ParameterValue... parameterValues)
A list of parameter values to pass to the pipeline at activation.
|
ActivatePipelineRequest |
withPipelineId(String pipelineId)
The ID of the pipeline.
|
ActivatePipelineRequest |
withStartTimestamp(Date startTimestamp)
The date and time to resume the pipeline.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- The ID of the pipeline.public ActivatePipelineRequest withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- The ID of the pipeline.public List<ParameterValue> getParameterValues()
public void setParameterValues(Collection<ParameterValue> parameterValues)
parameterValues
- A list of parameter values to pass to the pipeline at activation.public ActivatePipelineRequest withParameterValues(ParameterValue... parameterValues)
NOTE: This method appends the values to the existing list (if
any). Use setParameterValues(java.util.Collection)
or withParameterValues(java.util.Collection)
if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
parameterValues
- A list of parameter values to pass to the pipeline at activation.public ActivatePipelineRequest withParameterValues(Collection<ParameterValue> parameterValues)
Returns a reference to this object so that method calls can be chained together.
parameterValues
- A list of parameter values to pass to the pipeline at activation.public Date getStartTimestamp()
public void setStartTimestamp(Date startTimestamp)
startTimestamp
- The date and time to resume the pipeline. By default, the pipeline
resumes from the last completed execution.public ActivatePipelineRequest withStartTimestamp(Date startTimestamp)
Returns a reference to this object so that method calls can be chained together.
startTimestamp
- The date and time to resume the pipeline. By default, the pipeline
resumes from the last completed execution.public String toString()
toString
in class Object
Object.toString()
public ActivatePipelineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.