|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.datapipeline.model.SetStatusRequest
public class SetStatusRequest
Container for the parameters to the 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.
DataPipeline.setStatus(SetStatusRequest)
,
Serialized FormConstructor Summary | |
---|---|
SetStatusRequest()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SetStatusRequest()
Method Detail |
---|
public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\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: [ -??-??-?\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: [ -??-??-?\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: [ -??-??-?\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: [ -??-??-?\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()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |