public class StopDeploymentResult extends Object implements Serializable
Represents the output of a stop deployment operation.
Constructor and Description |
---|
StopDeploymentResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getStatus()
The status of the stop deployment operation: Pending: The
stop operation is pending. Succeeded: The stop operation
succeeded.
|
String |
getStatusMessage()
An accompanying status message.
|
int |
hashCode() |
void |
setStatus(StopStatus status)
The status of the stop deployment operation: Pending: The
stop operation is pending. Succeeded: The stop operation
succeeded.
|
void |
setStatus(String status)
The status of the stop deployment operation: Pending: The
stop operation is pending. Succeeded: The stop operation
succeeded.
|
void |
setStatusMessage(String statusMessage)
An accompanying status message.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopDeploymentResult |
withStatus(StopStatus status)
The status of the stop deployment operation: Pending: The
stop operation is pending. Succeeded: The stop operation
succeeded.
|
StopDeploymentResult |
withStatus(String status)
The status of the stop deployment operation: Pending: The
stop operation is pending. Succeeded: The stop operation
succeeded.
|
StopDeploymentResult |
withStatusMessage(String statusMessage)
An accompanying status message.
|
public String getStatus()
Constraints:
Allowed Values: Pending, Succeeded
StopStatus
public void setStatus(String status)
Constraints:
Allowed Values: Pending, Succeeded
status
- The status of the stop deployment operation: StopStatus
public StopDeploymentResult withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Succeeded
status
- The status of the stop deployment operation: StopStatus
public void setStatus(StopStatus status)
Constraints:
Allowed Values: Pending, Succeeded
status
- The status of the stop deployment operation: StopStatus
public StopDeploymentResult withStatus(StopStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Succeeded
status
- The status of the stop deployment operation: StopStatus
public String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage
- An accompanying status message.public StopDeploymentResult withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- An accompanying status message.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.