public class SetStatusRequest extends AmazonWebServiceRequest implements Serializable
SetStatus operation
.
Requests that the status of an array of physical or logical pipeline objects be updated in the pipeline. This update may not occur immediately, but is eventually consistent. The status that can be set depends on the type of object.
NOOP
Constructor and Description |
---|
SetStatusRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<String> |
getObjectIds()
Identifies an array of objects.
|
String |
getPipelineId()
Identifies the pipeline that contains the objects.
|
String |
getStatus()
Specifies the status to be set on all the objects in
objectIds . |
int |
hashCode() |
void |
setObjectIds(Collection<String> objectIds)
Identifies an array of objects.
|
void |
setPipelineId(String pipelineId)
Identifies the pipeline that contains the objects.
|
void |
setStatus(String status)
Specifies the status to be set on all the objects in
objectIds . |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetStatusRequest |
withObjectIds(Collection<String> objectIds)
Identifies an array of objects.
|
SetStatusRequest |
withObjectIds(String... objectIds)
Identifies an array of objects.
|
SetStatusRequest |
withPipelineId(String pipelineId)
Identifies the pipeline that contains the objects.
|
SetStatusRequest |
withStatus(String status)
Specifies the status to be set on all the objects in
objectIds . |
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- Identifies the pipeline that contains the objects.public SetStatusRequest withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- Identifies the pipeline that contains the objects.public List<String> getObjectIds()
public void setObjectIds(Collection<String> objectIds)
objectIds
- Identifies an array of objects. The corresponding objects can be
either physical or components, but not a mix of both types.public SetStatusRequest withObjectIds(String... objectIds)
Returns a reference to this object so that method calls can be chained together.
objectIds
- Identifies an array of objects. The corresponding objects can be
either physical or components, but not a mix of both types.public SetStatusRequest withObjectIds(Collection<String> objectIds)
Returns a reference to this object so that method calls can be chained together.
objectIds
- Identifies an array of objects. The corresponding objects can be
either physical or components, but not a mix of both types.public String getStatus()
objectIds
. For components, this can be either
PAUSE
or RESUME
. For instances, this can be
either CANCEL
, RERUN
, or
MARK_FINISHED
.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
objectIds
. For components, this can be either
PAUSE
or RESUME
. For instances, this can be
either CANCEL
, RERUN
, or
MARK_FINISHED
.public void setStatus(String status)
objectIds
. For components, this can be either
PAUSE
or RESUME
. For instances, this can be
either CANCEL
, RERUN
, or
MARK_FINISHED
.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
status
- Specifies the status to be set on all the objects in
objectIds
. For components, this can be either
PAUSE
or RESUME
. For instances, this can be
either CANCEL
, RERUN
, or
MARK_FINISHED
.public SetStatusRequest withStatus(String status)
objectIds
. For components, this can be either
PAUSE
or RESUME
. For instances, this can be
either CANCEL
, RERUN
, or
MARK_FINISHED
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
status
- Specifies the status to be set on all the objects in
objectIds
. For components, this can be either
PAUSE
or RESUME
. For instances, this can be
either CANCEL
, RERUN
, or
MARK_FINISHED
.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.