@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BlueGreenDeploymentTask extends Object implements Serializable, Cloneable
Details about a task for a blue/green deployment.
For more information, see Using Amazon RDS Blue/Green Deployments for database updates in the Amazon RDS User Guide and Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora User Guide.
Constructor and Description |
---|
BlueGreenDeploymentTask() |
Modifier and Type | Method and Description |
---|---|
BlueGreenDeploymentTask |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the blue/green deployment task.
|
String |
getStatus()
The status of the blue/green deployment task.
|
int |
hashCode() |
void |
setName(String name)
The name of the blue/green deployment task.
|
void |
setStatus(String status)
The status of the blue/green deployment task.
|
String |
toString()
Returns a string representation of this object.
|
BlueGreenDeploymentTask |
withName(String name)
The name of the blue/green deployment task.
|
BlueGreenDeploymentTask |
withStatus(String status)
The status of the blue/green deployment task.
|
public void setName(String name)
The name of the blue/green deployment task.
name
- The name of the blue/green deployment task.public String getName()
The name of the blue/green deployment task.
public BlueGreenDeploymentTask withName(String name)
The name of the blue/green deployment task.
name
- The name of the blue/green deployment task.public void setStatus(String status)
The status of the blue/green deployment task.
Valid Values:
PENDING
- The resource is being prepared for deployment.
IN_PROGRESS
- The resource is being deployed.
COMPLETED
- The resource has been deployed.
FAILED
- Deployment of the resource failed.
status
- The status of the blue/green deployment task.
Valid Values:
PENDING
- The resource is being prepared for deployment.
IN_PROGRESS
- The resource is being deployed.
COMPLETED
- The resource has been deployed.
FAILED
- Deployment of the resource failed.
public String getStatus()
The status of the blue/green deployment task.
Valid Values:
PENDING
- The resource is being prepared for deployment.
IN_PROGRESS
- The resource is being deployed.
COMPLETED
- The resource has been deployed.
FAILED
- Deployment of the resource failed.
Valid Values:
PENDING
- The resource is being prepared for deployment.
IN_PROGRESS
- The resource is being deployed.
COMPLETED
- The resource has been deployed.
FAILED
- Deployment of the resource failed.
public BlueGreenDeploymentTask withStatus(String status)
The status of the blue/green deployment task.
Valid Values:
PENDING
- The resource is being prepared for deployment.
IN_PROGRESS
- The resource is being deployed.
COMPLETED
- The resource has been deployed.
FAILED
- Deployment of the resource failed.
status
- The status of the blue/green deployment task.
Valid Values:
PENDING
- The resource is being prepared for deployment.
IN_PROGRESS
- The resource is being deployed.
COMPLETED
- The resource has been deployed.
FAILED
- Deployment of the resource failed.
public String toString()
toString
in class Object
Object.toString()
public BlueGreenDeploymentTask clone()