Class DeactivatePipelineRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.datapipeline.model.DeactivatePipelineRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DeactivatePipelineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for DeactivatePipeline.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DeactivatePipelineRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeactivatePipelineRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Boolean
getCancelActive()
Indicates whether to cancel any running objects.String
getPipelineId()
The ID of the pipeline.int
hashCode()
Boolean
isCancelActive()
Indicates whether to cancel any running objects.void
setCancelActive(Boolean cancelActive)
Indicates whether to cancel any running objects.void
setPipelineId(String pipelineId)
The ID of the pipeline.String
toString()
Returns a string representation of this object; useful for testing and debugging.DeactivatePipelineRequest
withCancelActive(Boolean cancelActive)
Indicates whether to cancel any running objects.DeactivatePipelineRequest
withPipelineId(String pipelineId)
The ID 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
-
setPipelineId
public void setPipelineId(String pipelineId)
The ID of the pipeline.
- Parameters:
pipelineId
- The ID of the pipeline.
-
getPipelineId
public String getPipelineId()
The ID of the pipeline.
- Returns:
- The ID of the pipeline.
-
withPipelineId
public DeactivatePipelineRequest withPipelineId(String pipelineId)
The ID of the pipeline.
- Parameters:
pipelineId
- The ID of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCancelActive
public void setCancelActive(Boolean cancelActive)
Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to
CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.- Parameters:
cancelActive
- Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects toCANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.
-
getCancelActive
public Boolean getCancelActive()
Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to
CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.- Returns:
- Indicates whether to cancel any running objects. The default is
true, which sets the state of any running objects to
CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.
-
withCancelActive
public DeactivatePipelineRequest withCancelActive(Boolean cancelActive)
Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to
CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.- Parameters:
cancelActive
- Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects toCANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCancelActive
public Boolean isCancelActive()
Indicates whether to cancel any running objects. The default is true, which sets the state of any running objects to
CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.- Returns:
- Indicates whether to cancel any running objects. The default is
true, which sets the state of any running objects to
CANCELED
. If this value is false, the pipeline is deactivated after all running objects finish.
-
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 DeactivatePipelineRequest 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()
-
-