@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetStatusRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for SetStatus.
NOOP
Constructor and Description |
---|
SetStatusRequest() |
Modifier and Type | Method and Description |
---|---|
SetStatusRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 in
objectIds . |
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 in
objectIds . |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetStatusRequest |
withObjectIds(Collection<String> objectIds)
The IDs of the objects.
|
SetStatusRequest |
withObjectIds(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 in
objectIds . |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPipelineId(String pipelineId)
The ID of the pipeline that contains the objects.
pipelineId
- The ID of the pipeline that contains the objects.public String getPipelineId()
The ID of the pipeline that contains the objects.
public SetStatusRequest withPipelineId(String pipelineId)
The ID of the pipeline that contains the objects.
pipelineId
- The ID of the pipeline that contains the objects.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.
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.
objectIds
- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of
both types.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)
or withObjectIds(java.util.Collection)
if you want to
override the existing values.
objectIds
- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of
both types.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.
objectIds
- The IDs of the objects. The corresponding objects can be either physical or components, but not a mix of
both types.public void setStatus(String status)
The status to be set on all the objects specified in objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
, or
MARK_FINISHED
.
status
- The status to be set on all the objects specified in objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
,
or MARK_FINISHED
.public String getStatus()
The status to be set on all the objects specified in objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
, or
MARK_FINISHED
.
objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
, or MARK_FINISHED
.public SetStatusRequest withStatus(String status)
The status to be set on all the objects specified in objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
, or
MARK_FINISHED
.
status
- The status to be set on all the objects specified in objectIds
. For components, use
PAUSE
or RESUME
. For instances, use TRY_CANCEL
, RERUN
,
or MARK_FINISHED
.public String toString()
toString
in class Object
Object.toString()
public SetStatusRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.