public class UpdatePipelineStatusRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The UpdatePipelineStatusRequest
structure.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
The identifier of the pipeline to update.
|
private java.lang.String |
status
The desired status of the pipeline:
|
NOOP
Constructor and Description |
---|
UpdatePipelineStatusRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePipelineStatusRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The identifier of the pipeline to update.
|
java.lang.String |
getStatus()
The desired status of the pipeline:
|
int |
hashCode() |
void |
setId(java.lang.String id)
The identifier of the pipeline to update.
|
void |
setStatus(java.lang.String status)
The desired status of the pipeline:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdatePipelineStatusRequest |
withId(java.lang.String id)
The identifier of the pipeline to update.
|
UpdatePipelineStatusRequest |
withStatus(java.lang.String status)
The desired status 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 id
The identifier of the pipeline to update.
private java.lang.String status
The desired status of the pipeline:
Active
: The pipeline is processing jobs.Paused
: The pipeline is not currently processing jobs.public void setId(java.lang.String id)
The identifier of the pipeline to update.
id
- The identifier of the pipeline to update.public java.lang.String getId()
The identifier of the pipeline to update.
public UpdatePipelineStatusRequest withId(java.lang.String id)
The identifier of the pipeline to update.
id
- The identifier of the pipeline to update.public void setStatus(java.lang.String status)
The desired status of the pipeline:
Active
: The pipeline is processing jobs.Paused
: The pipeline is not currently processing jobs.status
- The desired status of the pipeline:
Active
: The pipeline is processing jobs.Paused
: The pipeline is not currently processing
jobs.public java.lang.String getStatus()
The desired status of the pipeline:
Active
: The pipeline is processing jobs.Paused
: The pipeline is not currently processing jobs.Active
: The pipeline is processing jobs.Paused
: The pipeline is not currently processing
jobs.public UpdatePipelineStatusRequest withStatus(java.lang.String status)
The desired status of the pipeline:
Active
: The pipeline is processing jobs.Paused
: The pipeline is not currently processing jobs.status
- The desired status of the pipeline:
Active
: The pipeline is processing jobs.Paused
: The pipeline is not currently processing
jobs.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 UpdatePipelineStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()