public class GetPipelineRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input of a get pipeline action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the pipeline for which you want to get information.
|
private java.lang.Integer |
version
The version number of the pipeline.
|
NOOP
Constructor and Description |
---|
GetPipelineRequest() |
Modifier and Type | Method and Description |
---|---|
GetPipelineRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the pipeline for which you want to get information.
|
java.lang.Integer |
getVersion()
The version number of the pipeline.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the pipeline for which you want to get information.
|
void |
setVersion(java.lang.Integer version)
The version number of the pipeline.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPipelineRequest |
withName(java.lang.String name)
The name of the pipeline for which you want to get information.
|
GetPipelineRequest |
withVersion(java.lang.Integer version)
The version number of 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 name
The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.
private java.lang.Integer version
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
public void setName(java.lang.String name)
The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.
name
- The name of the pipeline for which you want to get information.
Pipeline names must be unique under an Amazon Web Services (AWS)
user account.public java.lang.String getName()
The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.
public GetPipelineRequest withName(java.lang.String name)
The name of the pipeline for which you want to get information. Pipeline names must be unique under an Amazon Web Services (AWS) user account.
name
- The name of the pipeline for which you want to get information.
Pipeline names must be unique under an Amazon Web Services (AWS)
user account.public void setVersion(java.lang.Integer version)
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
version
- The version number of the pipeline. If you do not specify a
version, defaults to the most current version.public java.lang.Integer getVersion()
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
public GetPipelineRequest withVersion(java.lang.Integer version)
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
version
- The version number of the pipeline. If you do not specify a
version, defaults to the most current version.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 GetPipelineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()