|
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)
Constructor Summary | |
---|---|
SetStatusRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getObjectIds()
Identifies an array of objects. |
java.lang.String |
getPipelineId()
Identifies the pipeline that contains the objects. |
java.lang.String |
getStatus()
Specifies the status to be set on all the objects in objectIds. |
int |
hashCode()
|
void |
setObjectIds(java.util.Collection<java.lang.String> objectIds)
Identifies an array of objects. |
void |
setPipelineId(java.lang.String pipelineId)
Identifies the pipeline that contains the objects. |
void |
setStatus(java.lang.String status)
Specifies the status to be set on all the objects in objectIds. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SetStatusRequest |
withObjectIds(java.util.Collection<java.lang.String> objectIds)
Identifies an array of objects. |
SetStatusRequest |
withObjectIds(java.lang.String... objectIds)
Identifies an array of objects. |
SetStatusRequest |
withPipelineId(java.lang.String pipelineId)
Identifies the pipeline that contains the objects. |
SetStatusRequest |
withStatus(java.lang.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 java.lang.String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setPipelineId(java.lang.String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [ -??-??-?\r\n\t]*
pipelineId
- Identifies the pipeline that contains the objects.public SetStatusRequest withPipelineId(java.lang.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 java.util.List<java.lang.String> getObjectIds()
public void setObjectIds(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String getStatus()
PAUSE
or
RESUME
. For instances, this can be either
CANCEL
, RERUN
, or
MARK_FINISHED
.
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
PAUSE
or
RESUME
. For instances, this can be either
CANCEL
, RERUN
, or
MARK_FINISHED
.public void setStatus(java.lang.String status)
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(java.lang.String status)
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |