Class GetPipelineRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.codepipeline.model.GetPipelineRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class GetPipelineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a get pipeline action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description GetPipelineRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPipelineRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getName()
The name of the pipeline for which you want to get information.Integer
getVersion()
The version number of the pipeline.int
hashCode()
void
setName(String name)
The name of the pipeline for which you want to get information.void
setVersion(Integer version)
The version number of the pipeline.String
toString()
Returns a string representation of this object; useful for testing and debugging.GetPipelineRequest
withName(String name)
The name of the pipeline for which you want to get information.GetPipelineRequest
withVersion(Integer version)
The version number of 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
-
setName
public void setName(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.
- Parameters:
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.
-
getName
public 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.
- Returns:
- 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.
-
withName
public GetPipelineRequest withName(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(Integer version)
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
- Parameters:
version
- The version number of the pipeline. If you do not specify a version, defaults to the most current version.
-
getVersion
public Integer getVersion()
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
- Returns:
- The version number of the pipeline. If you do not specify a version, defaults to the most current version.
-
withVersion
public GetPipelineRequest withVersion(Integer version)
The version number of the pipeline. If you do not specify a version, defaults to the most current version.
- Parameters:
version
- The version number of the pipeline. If you do not specify a version, defaults to the most current version.- 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 GetPipelineRequest 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()
-
-