Class SetStatusRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
Contains the parameters for SetStatus.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe IDs of the objects.The ID of the pipeline that contains the objects.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.voidThe 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 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
-
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, 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
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
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
-
equals
-
hashCode
-
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:
-