Class StopDeploymentResult
- java.lang.Object
-
- com.amazonaws.services.codedeploy.model.StopDeploymentResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class StopDeploymentResult extends Object implements Serializable, Cloneable
Represents the output of a stop deployment operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StopDeploymentResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StopDeploymentResultclone()booleanequals(Object obj)StringgetStatus()The status of the stop deployment operation:StringgetStatusMessage()An accompanying status message.inthashCode()voidsetStatus(StopStatus status)The status of the stop deployment operation:voidsetStatus(String status)The status of the stop deployment operation:voidsetStatusMessage(String statusMessage)An accompanying status message.StringtoString()Returns a string representation of this object; useful for testing and debugging.StopDeploymentResultwithStatus(StopStatus status)The status of the stop deployment operation:StopDeploymentResultwithStatus(String status)The status of the stop deployment operation:StopDeploymentResultwithStatusMessage(String statusMessage)An accompanying status message.
-
-
-
Method Detail
-
setStatus
public void setStatus(String status)
The status of the stop deployment operation:
- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- Parameters:
status- The status of the stop deployment operation:- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- See Also:
StopStatus
-
getStatus
public String getStatus()
The status of the stop deployment operation:
- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- Returns:
- The status of the stop deployment operation:
- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- See Also:
StopStatus
-
withStatus
public StopDeploymentResult withStatus(String status)
The status of the stop deployment operation:
- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- Parameters:
status- The status of the stop deployment operation:- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StopStatus
-
setStatus
public void setStatus(StopStatus status)
The status of the stop deployment operation:
- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- Parameters:
status- The status of the stop deployment operation:- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- See Also:
StopStatus
-
withStatus
public StopDeploymentResult withStatus(StopStatus status)
The status of the stop deployment operation:
- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- Parameters:
status- The status of the stop deployment operation:- Pending: The stop operation is pending.
- Succeeded: The stop operation was successful.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StopStatus
-
setStatusMessage
public void setStatusMessage(String statusMessage)
An accompanying status message.
- Parameters:
statusMessage- An accompanying status message.
-
getStatusMessage
public String getStatusMessage()
An accompanying status message.
- Returns:
- An accompanying status message.
-
withStatusMessage
public StopDeploymentResult withStatusMessage(String statusMessage)
An accompanying status message.
- Parameters:
statusMessage- An accompanying status message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StopDeploymentResult clone()
-
-