Class SetStatusRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.datapipeline.model.SetStatusRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class SetStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for SetStatus.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description SetStatusRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetStatusRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)List<String>getObjectIds()The IDs of the objects.StringgetPipelineId()The ID of the pipeline that contains the objects.StringgetStatus()The status to be set on all the objects specified inobjectIds.inthashCode()voidsetObjectIds(Collection<String> objectIds)The IDs of the objects.voidsetPipelineId(String pipelineId)The ID of the pipeline that contains the objects.voidsetStatus(String status)The status to be set on all the objects specified inobjectIds.StringtoString()Returns a string representation of this object; useful for testing and debugging.SetStatusRequestwithObjectIds(String... objectIds)The IDs of the objects.SetStatusRequestwithObjectIds(Collection<String> objectIds)The IDs of the objects.SetStatusRequestwithPipelineId(String pipelineId)The ID of the pipeline that contains the objects.SetStatusRequestwithStatus(String status)The status to be set on all the objects specified inobjectIds.-
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 that contains the objects.
- Parameters:
pipelineId- The ID of the pipeline that contains the objects.
-
getPipelineId
public String getPipelineId()
The ID of the pipeline that contains the objects.
- Returns:
- The ID of the pipeline that contains the objects.
-
withPipelineId
public SetStatusRequest withPipelineId(String pipelineId)
The ID of the pipeline that contains the objects.
- Parameters:
pipelineId- The ID of the pipeline that contains the objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getObjectIds
public List<String> getObjectIds()
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
- Returns:
- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
-
setObjectIds
public void setObjectIds(Collection<String> objectIds)
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
- Parameters:
objectIds- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
-
withObjectIds
public SetStatusRequest withObjectIds(String... objectIds)
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
NOTE: This method appends the values to the existing list (if any). Use
setObjectIds(java.util.Collection)orwithObjectIds(java.util.Collection)if you want to override the existing values.- Parameters:
objectIds- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withObjectIds
public SetStatusRequest withObjectIds(Collection<String> objectIds)
The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.
- Parameters:
objectIds- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of both types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status to be set on all the objects specified in
objectIds. For components, usePAUSEorRESUME. For instances, useTRY_CANCEL,RERUN, orMARK_FINISHED.- Parameters:
status- The status to be set on all the objects specified inobjectIds. For components, usePAUSEorRESUME. For instances, useTRY_CANCEL,RERUN, orMARK_FINISHED.
-
getStatus
public String getStatus()
The status to be set on all the objects specified in
objectIds. For components, usePAUSEorRESUME. For instances, useTRY_CANCEL,RERUN, orMARK_FINISHED.- Returns:
- The status to be set on all the objects specified in
objectIds. For components, usePAUSEorRESUME. For instances, useTRY_CANCEL,RERUN, orMARK_FINISHED.
-
withStatus
public SetStatusRequest withStatus(String status)
The status to be set on all the objects specified in
objectIds. For components, usePAUSEorRESUME. For instances, useTRY_CANCEL,RERUN, orMARK_FINISHED.- Parameters:
status- The status to be set on all the objects specified inobjectIds. For components, usePAUSEorRESUME. For instances, useTRY_CANCEL,RERUN, orMARK_FINISHED.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SetStatusRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-