public class GetPipelineDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for GetPipelineDefinition.
NOOP
Constructor and Description |
---|
GetPipelineDefinitionRequest() |
Modifier and Type | Method and 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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public String getPipelineId()
The ID of the pipeline.
public GetPipelineDefinitionRequest withPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.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 or active
to use the last definition that was
activated.
version
- The version of the pipeline definition to retrieve. Set this
parameter to latest
(default) to use the last
definition saved to the pipeline or active
to use the
last definition that was activated.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 or active
to use the last definition that was
activated.
latest
(default) to use the last
definition saved to the pipeline or active
to use
the last definition that was activated.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 or active
to use the last definition that was
activated.
version
- The version of the pipeline definition to retrieve. Set this
parameter to latest
(default) to use the last
definition saved to the pipeline or active
to use the
last definition that was activated.public String toString()
toString
in class Object
Object.toString()
public GetPipelineDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.