public class ActivatePipelineRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the parameters for ActivatePipeline.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<ParameterValue> |
parameterValues
A list of parameter values to pass to the pipeline at activation.
|
private java.lang.String |
pipelineId
The ID of the pipeline.
|
private java.util.Date |
startTimestamp
The date and time to resume the pipeline.
|
NOOP
Constructor and Description |
---|
ActivatePipelineRequest() |
Modifier and Type | Method and Description |
---|---|
ActivatePipelineRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<ParameterValue> |
getParameterValues()
A list of parameter values to pass to the pipeline at activation.
|
java.lang.String |
getPipelineId()
The ID of the pipeline.
|
java.util.Date |
getStartTimestamp()
The date and time to resume the pipeline.
|
int |
hashCode() |
void |
setParameterValues(java.util.Collection<ParameterValue> parameterValues)
A list of parameter values to pass to the pipeline at activation.
|
void |
setPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
|
void |
setStartTimestamp(java.util.Date startTimestamp)
The date and time to resume the pipeline.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ActivatePipelineRequest |
withParameterValues(java.util.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(java.lang.String pipelineId)
The ID of the pipeline.
|
ActivatePipelineRequest |
withStartTimestamp(java.util.Date startTimestamp)
The date and time to resume the pipeline.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String pipelineId
The ID of the pipeline.
private SdkInternalList<ParameterValue> parameterValues
A list of parameter values to pass to the pipeline at activation.
private java.util.Date startTimestamp
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
public void setPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public java.lang.String getPipelineId()
The ID of the pipeline.
public ActivatePipelineRequest withPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public java.util.List<ParameterValue> getParameterValues()
A list of parameter values to pass to the pipeline at activation.
public void setParameterValues(java.util.Collection<ParameterValue> parameterValues)
A list of parameter values to pass to the pipeline at activation.
parameterValues
- A list of parameter values to pass to the pipeline at activation.public ActivatePipelineRequest withParameterValues(ParameterValue... parameterValues)
A list of parameter values to pass to the pipeline at activation.
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.
parameterValues
- A list of parameter values to pass to the pipeline at activation.public ActivatePipelineRequest withParameterValues(java.util.Collection<ParameterValue> parameterValues)
A list of parameter values to pass to the pipeline at activation.
parameterValues
- A list of parameter values to pass to the pipeline at activation.public void setStartTimestamp(java.util.Date startTimestamp)
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
startTimestamp
- The date and time to resume the pipeline. By default, the pipeline
resumes from the last completed execution.public java.util.Date getStartTimestamp()
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
public ActivatePipelineRequest withStartTimestamp(java.util.Date startTimestamp)
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
startTimestamp
- The date and time to resume the pipeline. By default, the pipeline
resumes from the last completed execution.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ActivatePipelineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()