@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrepareFlowResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
PrepareFlowResult() |
Modifier and Type | Method and Description |
---|---|
PrepareFlowResult |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The unique identifier of the flow.
|
String |
getStatus()
The status of the flow.
|
int |
hashCode() |
void |
setId(String id)
The unique identifier of the flow.
|
void |
setStatus(String status)
The status of the flow.
|
String |
toString()
Returns a string representation of this object.
|
PrepareFlowResult |
withId(String id)
The unique identifier of the flow.
|
PrepareFlowResult |
withStatus(FlowStatus status)
The status of the flow.
|
PrepareFlowResult |
withStatus(String status)
The status of the flow.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The unique identifier of the flow.
id
- The unique identifier of the flow.public String getId()
The unique identifier of the flow.
public PrepareFlowResult withId(String id)
The unique identifier of the flow.
id
- The unique identifier of the flow.public void setStatus(String status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If preparation
succeeds, the status becomes Prepared
. If it fails, the status becomes FAILED
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
preparation succeeds, the status becomes Prepared
. If it fails, the status becomes
FAILED
.FlowStatus
public String getStatus()
The status of the flow. When you submit this request, the status will be NotPrepared
. If preparation
succeeds, the status becomes Prepared
. If it fails, the status becomes FAILED
.
NotPrepared
. If
preparation succeeds, the status becomes Prepared
. If it fails, the status becomes
FAILED
.FlowStatus
public PrepareFlowResult withStatus(String status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If preparation
succeeds, the status becomes Prepared
. If it fails, the status becomes FAILED
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
preparation succeeds, the status becomes Prepared
. If it fails, the status becomes
FAILED
.FlowStatus
public PrepareFlowResult withStatus(FlowStatus status)
The status of the flow. When you submit this request, the status will be NotPrepared
. If preparation
succeeds, the status becomes Prepared
. If it fails, the status becomes FAILED
.
status
- The status of the flow. When you submit this request, the status will be NotPrepared
. If
preparation succeeds, the status becomes Prepared
. If it fails, the status becomes
FAILED
.FlowStatus
public String toString()
toString
in class Object
Object.toString()
public PrepareFlowResult clone()