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 SetStatusRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getObjectIds()
The IDs of the objects.String
getPipelineId()
The ID of the pipeline that contains the objects.String
getStatus()
The status to be set on all the objects specified inobjectIds
.int
hashCode()
void
setObjectIds(Collection<String> objectIds)
The IDs of the objects.void
setPipelineId(String pipelineId)
The ID of the pipeline that contains the objects.void
setStatus(String status)
The status to be set on all the objects specified inobjectIds
.String
toString()
Returns a string representation of this object; useful for testing and debugging.SetStatusRequest
withObjectIds(String... objectIds)
The IDs of the objects.SetStatusRequest
withObjectIds(Collection<String> objectIds)
The IDs of the objects.SetStatusRequest
withPipelineId(String pipelineId)
The ID of the pipeline that contains the objects.SetStatusRequest
withStatus(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, usePAUSE
orRESUME
. For instances, useTRY_CANCEL
,RERUN
, orMARK_FINISHED
.- Parameters:
status
- The status to be set on all the objects specified inobjectIds
. For components, usePAUSE
orRESUME
. 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, usePAUSE
orRESUME
. For instances, useTRY_CANCEL
,RERUN
, orMARK_FINISHED
.- Returns:
- The status to be set on all the objects specified in
objectIds
. For components, usePAUSE
orRESUME
. 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, usePAUSE
orRESUME
. For instances, useTRY_CANCEL
,RERUN
, orMARK_FINISHED
.- Parameters:
status
- The status to be set on all the objects specified inobjectIds
. For components, usePAUSE
orRESUME
. 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SetStatusRequest 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()
-
-