Class ActivatePipelineRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.datapipeline.model.ActivatePipelineRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ActivatePipelineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for ActivatePipeline.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ActivatePipelineRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(ParameterValue... parameterValues)
A list of parameter values to pass to the pipeline at activation.ActivatePipelineRequest
withParameterValues(Collection<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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setPipelineId
public void setPipelineId(String pipelineId)
The ID of the pipeline.
- Parameters:
pipelineId
- The ID of the pipeline.
-
getPipelineId
public String getPipelineId()
The ID of the pipeline.
- Returns:
- The ID of the pipeline.
-
withPipelineId
public ActivatePipelineRequest withPipelineId(String pipelineId)
The ID of the pipeline.
- Parameters:
pipelineId
- The ID of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getParameterValues
public List<ParameterValue> getParameterValues()
A list of parameter values to pass to the pipeline at activation.
- Returns:
- A list of parameter values to pass to the pipeline at activation.
-
setParameterValues
public void setParameterValues(Collection<ParameterValue> parameterValues)
A list of parameter values to pass to the pipeline at activation.
- Parameters:
parameterValues
- A list of parameter values to pass to the pipeline at activation.
-
withParameterValues
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)
orwithParameterValues(java.util.Collection)
if you want to override the existing values.- Parameters:
parameterValues
- A list of parameter values to pass to the pipeline at activation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withParameterValues
public ActivatePipelineRequest withParameterValues(Collection<ParameterValue> parameterValues)
A list of parameter values to pass to the pipeline at activation.
- Parameters:
parameterValues
- A list of parameter values to pass to the pipeline at activation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartTimestamp
public void setStartTimestamp(Date startTimestamp)
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
- Parameters:
startTimestamp
- The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
-
getStartTimestamp
public Date getStartTimestamp()
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
- Returns:
- The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
-
withStartTimestamp
public ActivatePipelineRequest withStartTimestamp(Date startTimestamp)
The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.
- Parameters:
startTimestamp
- The date and time to resume the pipeline. By default, the pipeline resumes from the last completed execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActivatePipelineRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-