Class SetStatusRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Contains the parameters for SetStatus.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The IDs of the objects.The ID of the pipeline that contains the objects.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
The status to be set on all the objects specified inobjectIds
.toString()
Returns a string representation of this object; useful for testing and debugging.withObjectIds
(String... objectIds) The IDs of the objects.withObjectIds
(Collection<String> objectIds) The IDs of the objects.withPipelineId
(String pipelineId) The ID of the pipeline that contains the objects.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
-
Constructor Details
-
SetStatusRequest
public SetStatusRequest()
-
-
Method Details
-
setPipelineId
The ID of the pipeline that contains the objects.
- Parameters:
pipelineId
- The ID of the pipeline that contains the objects.
-
getPipelineId
The ID of the pipeline that contains the objects.
- Returns:
- The ID of the pipeline that contains the objects.
-
withPipelineId
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-