Class GetPipelineDefinitionRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.datapipeline.model.GetPipelineDefinitionRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetPipelineDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for GetPipelineDefinition.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetPipelineDefinitionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPipelineDefinitionRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getPipelineId()
The ID of the pipeline.String
getVersion()
The version of the pipeline definition to retrieve.int
hashCode()
void
setPipelineId(String pipelineId)
The ID of the pipeline.void
setVersion(String version)
The version of the pipeline definition to retrieve.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetPipelineDefinitionRequest
withPipelineId(String pipelineId)
The ID of the pipeline.GetPipelineDefinitionRequest
withVersion(String version)
The version of the pipeline definition to retrieve.-
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 GetPipelineDefinitionRequest 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.
-
setVersion
public void setVersion(String version)
The version of the pipeline definition to retrieve. Set this parameter to
latest
(default) to use the last definition saved to the pipeline oractive
to use the last definition that was activated.- Parameters:
version
- The version of the pipeline definition to retrieve. Set this parameter tolatest
(default) to use the last definition saved to the pipeline oractive
to use the last definition that was activated.
-
getVersion
public String getVersion()
The version of the pipeline definition to retrieve. Set this parameter to
latest
(default) to use the last definition saved to the pipeline oractive
to use the last definition that was activated.- Returns:
- The version of the pipeline definition to retrieve. Set this
parameter to
latest
(default) to use the last definition saved to the pipeline oractive
to use the last definition that was activated.
-
withVersion
public GetPipelineDefinitionRequest withVersion(String version)
The version of the pipeline definition to retrieve. Set this parameter to
latest
(default) to use the last definition saved to the pipeline oractive
to use the last definition that was activated.- Parameters:
version
- The version of the pipeline definition to retrieve. Set this parameter tolatest
(default) to use the last definition saved to the pipeline oractive
to use the last definition that was activated.- 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 GetPipelineDefinitionRequest 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()
-
-