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:
  • Constructor Details

    • GetPipelineRequest

      public GetPipelineRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: