@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BlueGreenDeployment extends Object implements Serializable, Cloneable
Details about 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 |
---|
BlueGreenDeployment() |
Modifier and Type | Method and Description |
---|---|
BlueGreenDeployment |
clone() |
boolean |
equals(Object obj) |
String |
getBlueGreenDeploymentIdentifier()
The unique identifier of the blue/green deployment.
|
String |
getBlueGreenDeploymentName()
The user-supplied name of the blue/green deployment.
|
Date |
getCreateTime()
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
|
Date |
getDeleteTime()
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
|
String |
getSource()
The source database for the blue/green deployment.
|
String |
getStatus()
The status of the blue/green deployment.
|
String |
getStatusDetails()
Additional information about the status of the blue/green deployment.
|
List<SwitchoverDetail> |
getSwitchoverDetails()
The details about each source and target resource in the blue/green deployment.
|
List<Tag> |
getTagList() |
String |
getTarget()
The target database for the blue/green deployment.
|
List<BlueGreenDeploymentTask> |
getTasks()
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
int |
hashCode() |
void |
setBlueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)
The unique identifier of the blue/green deployment.
|
void |
setBlueGreenDeploymentName(String blueGreenDeploymentName)
The user-supplied name of the blue/green deployment.
|
void |
setCreateTime(Date createTime)
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
|
void |
setDeleteTime(Date deleteTime)
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
|
void |
setSource(String source)
The source database for the blue/green deployment.
|
void |
setStatus(String status)
The status of the blue/green deployment.
|
void |
setStatusDetails(String statusDetails)
Additional information about the status of the blue/green deployment.
|
void |
setSwitchoverDetails(Collection<SwitchoverDetail> switchoverDetails)
The details about each source and target resource in the blue/green deployment.
|
void |
setTagList(Collection<Tag> tagList) |
void |
setTarget(String target)
The target database for the blue/green deployment.
|
void |
setTasks(Collection<BlueGreenDeploymentTask> tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
String |
toString()
Returns a string representation of this object.
|
BlueGreenDeployment |
withBlueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)
The unique identifier of the blue/green deployment.
|
BlueGreenDeployment |
withBlueGreenDeploymentName(String blueGreenDeploymentName)
The user-supplied name of the blue/green deployment.
|
BlueGreenDeployment |
withCreateTime(Date createTime)
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
|
BlueGreenDeployment |
withDeleteTime(Date deleteTime)
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
|
BlueGreenDeployment |
withSource(String source)
The source database for the blue/green deployment.
|
BlueGreenDeployment |
withStatus(String status)
The status of the blue/green deployment.
|
BlueGreenDeployment |
withStatusDetails(String statusDetails)
Additional information about the status of the blue/green deployment.
|
BlueGreenDeployment |
withSwitchoverDetails(Collection<SwitchoverDetail> switchoverDetails)
The details about each source and target resource in the blue/green deployment.
|
BlueGreenDeployment |
withSwitchoverDetails(SwitchoverDetail... switchoverDetails)
The details about each source and target resource in the blue/green deployment.
|
BlueGreenDeployment |
withTagList(Collection<Tag> tagList) |
BlueGreenDeployment |
withTagList(Tag... tagList)
NOTE: This method appends the values to the existing list (if any).
|
BlueGreenDeployment |
withTarget(String target)
The target database for the blue/green deployment.
|
BlueGreenDeployment |
withTasks(BlueGreenDeploymentTask... tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
BlueGreenDeployment |
withTasks(Collection<BlueGreenDeploymentTask> tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
public void setBlueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)
The unique identifier of the blue/green deployment.
blueGreenDeploymentIdentifier
- The unique identifier of the blue/green deployment.public String getBlueGreenDeploymentIdentifier()
The unique identifier of the blue/green deployment.
public BlueGreenDeployment withBlueGreenDeploymentIdentifier(String blueGreenDeploymentIdentifier)
The unique identifier of the blue/green deployment.
blueGreenDeploymentIdentifier
- The unique identifier of the blue/green deployment.public void setBlueGreenDeploymentName(String blueGreenDeploymentName)
The user-supplied name of the blue/green deployment.
blueGreenDeploymentName
- The user-supplied name of the blue/green deployment.public String getBlueGreenDeploymentName()
The user-supplied name of the blue/green deployment.
public BlueGreenDeployment withBlueGreenDeploymentName(String blueGreenDeploymentName)
The user-supplied name of the blue/green deployment.
blueGreenDeploymentName
- The user-supplied name of the blue/green deployment.public void setSource(String source)
The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
source
- The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
public String getSource()
The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
Before switchover, the source database is the production database in the blue environment.
public BlueGreenDeployment withSource(String source)
The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
source
- The source database for the blue/green deployment.
Before switchover, the source database is the production database in the blue environment.
public void setTarget(String target)
The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
target
- The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
public String getTarget()
The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
Before switchover, the target database is the clone database in the green environment.
public BlueGreenDeployment withTarget(String target)
The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
target
- The target database for the blue/green deployment.
Before switchover, the target database is the clone database in the green environment.
public List<SwitchoverDetail> getSwitchoverDetails()
The details about each source and target resource in the blue/green deployment.
public void setSwitchoverDetails(Collection<SwitchoverDetail> switchoverDetails)
The details about each source and target resource in the blue/green deployment.
switchoverDetails
- The details about each source and target resource in the blue/green deployment.public BlueGreenDeployment withSwitchoverDetails(SwitchoverDetail... switchoverDetails)
The details about each source and target resource in the blue/green deployment.
NOTE: This method appends the values to the existing list (if any). Use
setSwitchoverDetails(java.util.Collection)
or withSwitchoverDetails(java.util.Collection)
if
you want to override the existing values.
switchoverDetails
- The details about each source and target resource in the blue/green deployment.public BlueGreenDeployment withSwitchoverDetails(Collection<SwitchoverDetail> switchoverDetails)
The details about each source and target resource in the blue/green deployment.
switchoverDetails
- The details about each source and target resource in the blue/green deployment.public List<BlueGreenDeploymentTask> getTasks()
Either tasks to be performed or tasks that have been completed on the target database before switchover.
public void setTasks(Collection<BlueGreenDeploymentTask> tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
tasks
- Either tasks to be performed or tasks that have been completed on the target database before switchover.public BlueGreenDeployment withTasks(BlueGreenDeploymentTask... tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)
or withTasks(java.util.Collection)
if you want to override the
existing values.
tasks
- Either tasks to be performed or tasks that have been completed on the target database before switchover.public BlueGreenDeployment withTasks(Collection<BlueGreenDeploymentTask> tasks)
Either tasks to be performed or tasks that have been completed on the target database before switchover.
tasks
- Either tasks to be performed or tasks that have been completed on the target database before switchover.public void setStatus(String status)
The status of the blue/green deployment.
Valid Values:
PROVISIONING
- Resources are being created in the green environment.
AVAILABLE
- Resources are available in the green environment.
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the green
environment.
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is complete.
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't
possible.
SWITCHOVER_FAILED
- Switchover was attempted but failed.
DELETING
- The blue/green deployment is being deleted.
status
- The status of the blue/green deployment.
Valid Values:
PROVISIONING
- Resources are being created in the green environment.
AVAILABLE
- Resources are available in the green environment.
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the
green environment.
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is
complete.
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't
possible.
SWITCHOVER_FAILED
- Switchover was attempted but failed.
DELETING
- The blue/green deployment is being deleted.
public String getStatus()
The status of the blue/green deployment.
Valid Values:
PROVISIONING
- Resources are being created in the green environment.
AVAILABLE
- Resources are available in the green environment.
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the green
environment.
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is complete.
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't
possible.
SWITCHOVER_FAILED
- Switchover was attempted but failed.
DELETING
- The blue/green deployment is being deleted.
Valid Values:
PROVISIONING
- Resources are being created in the green environment.
AVAILABLE
- Resources are available in the green environment.
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the
green environment.
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is
complete.
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't
possible.
SWITCHOVER_FAILED
- Switchover was attempted but failed.
DELETING
- The blue/green deployment is being deleted.
public BlueGreenDeployment withStatus(String status)
The status of the blue/green deployment.
Valid Values:
PROVISIONING
- Resources are being created in the green environment.
AVAILABLE
- Resources are available in the green environment.
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the green
environment.
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is complete.
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't
possible.
SWITCHOVER_FAILED
- Switchover was attempted but failed.
DELETING
- The blue/green deployment is being deleted.
status
- The status of the blue/green deployment.
Valid Values:
PROVISIONING
- Resources are being created in the green environment.
AVAILABLE
- Resources are available in the green environment.
SWITCHOVER_IN_PROGRESS
- The deployment is being switched from the blue environment to the
green environment.
SWITCHOVER_COMPLETED
- Switchover from the blue environment to the green environment is
complete.
INVALID_CONFIGURATION
- Resources in the green environment are invalid, so switchover isn't
possible.
SWITCHOVER_FAILED
- Switchover was attempted but failed.
DELETING
- The blue/green deployment is being deleted.
public void setStatusDetails(String statusDetails)
Additional information about the status of the blue/green deployment.
statusDetails
- Additional information about the status of the blue/green deployment.public String getStatusDetails()
Additional information about the status of the blue/green deployment.
public BlueGreenDeployment withStatusDetails(String statusDetails)
Additional information about the status of the blue/green deployment.
statusDetails
- Additional information about the status of the blue/green deployment.public void setCreateTime(Date createTime)
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
createTime
- The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).public Date getCreateTime()
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
public BlueGreenDeployment withCreateTime(Date createTime)
The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
createTime
- The time when the blue/green deployment was created, in Universal Coordinated Time (UTC).public void setDeleteTime(Date deleteTime)
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
deleteTime
- The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).public Date getDeleteTime()
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
public BlueGreenDeployment withDeleteTime(Date deleteTime)
The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
deleteTime
- The time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).public void setTagList(Collection<Tag> tagList)
tagList
- public BlueGreenDeployment withTagList(Tag... tagList)
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
or withTagList(java.util.Collection)
if you want to override
the existing values.
tagList
- public BlueGreenDeployment withTagList(Collection<Tag> tagList)
tagList
- public String toString()
toString
in class Object
Object.toString()
public BlueGreenDeployment clone()