public class GetPipelineDefinitionRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Contains the parameters for GetPipelineDefinition.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
pipelineId
The ID of the pipeline.
|
private java.lang.String |
version
The version of the pipeline definition to retrieve.
|
NOOP
Constructor and Description |
---|
GetPipelineDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
GetPipelineDefinitionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPipelineId()
The ID of the pipeline.
|
java.lang.String |
getVersion()
The version of the pipeline definition to retrieve.
|
int |
hashCode() |
void |
setPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
|
void |
setVersion(java.lang.String version)
The version of the pipeline definition to retrieve.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPipelineDefinitionRequest |
withPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
|
GetPipelineDefinitionRequest |
withVersion(java.lang.String version)
The version of the pipeline definition to retrieve.
|
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 java.lang.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.
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 GetPipelineDefinitionRequest withPipelineId(java.lang.String pipelineId)
The ID of the pipeline.
pipelineId
- The ID of the pipeline.public void setVersion(java.lang.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 java.lang.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(java.lang.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 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 GetPipelineDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()