@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SwitchoverDetail extends Object implements Serializable, Cloneable
Contains the 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 |
|---|
SwitchoverDetail() |
| Modifier and Type | Method and Description |
|---|---|
SwitchoverDetail |
clone() |
boolean |
equals(Object obj) |
String |
getSourceMember()
The Amazon Resource Name (ARN) of a resource in the blue environment.
|
String |
getStatus()
The switchover status of a resource in a blue/green deployment.
|
String |
getTargetMember()
The Amazon Resource Name (ARN) of a resource in the green environment.
|
int |
hashCode() |
void |
setSourceMember(String sourceMember)
The Amazon Resource Name (ARN) of a resource in the blue environment.
|
void |
setStatus(String status)
The switchover status of a resource in a blue/green deployment.
|
void |
setTargetMember(String targetMember)
The Amazon Resource Name (ARN) of a resource in the green environment.
|
String |
toString()
Returns a string representation of this object.
|
SwitchoverDetail |
withSourceMember(String sourceMember)
The Amazon Resource Name (ARN) of a resource in the blue environment.
|
SwitchoverDetail |
withStatus(String status)
The switchover status of a resource in a blue/green deployment.
|
SwitchoverDetail |
withTargetMember(String targetMember)
The Amazon Resource Name (ARN) of a resource in the green environment.
|
public void setSourceMember(String sourceMember)
The Amazon Resource Name (ARN) of a resource in the blue environment.
sourceMember - The Amazon Resource Name (ARN) of a resource in the blue environment.public String getSourceMember()
The Amazon Resource Name (ARN) of a resource in the blue environment.
public SwitchoverDetail withSourceMember(String sourceMember)
The Amazon Resource Name (ARN) of a resource in the blue environment.
sourceMember - The Amazon Resource Name (ARN) of a resource in the blue environment.public void setTargetMember(String targetMember)
The Amazon Resource Name (ARN) of a resource in the green environment.
targetMember - The Amazon Resource Name (ARN) of a resource in the green environment.public String getTargetMember()
The Amazon Resource Name (ARN) of a resource in the green environment.
public SwitchoverDetail withTargetMember(String targetMember)
The Amazon Resource Name (ARN) of a resource in the green environment.
targetMember - The Amazon Resource Name (ARN) of a resource in the green environment.public void setStatus(String status)
The switchover status of a resource in a blue/green deployment.
Values:
PROVISIONING - The resource is being prepared to switch over.
AVAILABLE - The resource is ready to switch over.
SWITCHOVER_IN_PROGRESS - The resource is being switched over.
SWITCHOVER_COMPLETED - The resource has been switched over.
SWITCHOVER_FAILED - The resource attempted to switch over but failed.
MISSING_SOURCE - The source resource has been deleted.
MISSING_TARGET - The target resource has been deleted.
status - The switchover status of a resource in a blue/green deployment.
Values:
PROVISIONING - The resource is being prepared to switch over.
AVAILABLE - The resource is ready to switch over.
SWITCHOVER_IN_PROGRESS - The resource is being switched over.
SWITCHOVER_COMPLETED - The resource has been switched over.
SWITCHOVER_FAILED - The resource attempted to switch over but failed.
MISSING_SOURCE - The source resource has been deleted.
MISSING_TARGET - The target resource has been deleted.
public String getStatus()
The switchover status of a resource in a blue/green deployment.
Values:
PROVISIONING - The resource is being prepared to switch over.
AVAILABLE - The resource is ready to switch over.
SWITCHOVER_IN_PROGRESS - The resource is being switched over.
SWITCHOVER_COMPLETED - The resource has been switched over.
SWITCHOVER_FAILED - The resource attempted to switch over but failed.
MISSING_SOURCE - The source resource has been deleted.
MISSING_TARGET - The target resource has been deleted.
Values:
PROVISIONING - The resource is being prepared to switch over.
AVAILABLE - The resource is ready to switch over.
SWITCHOVER_IN_PROGRESS - The resource is being switched over.
SWITCHOVER_COMPLETED - The resource has been switched over.
SWITCHOVER_FAILED - The resource attempted to switch over but failed.
MISSING_SOURCE - The source resource has been deleted.
MISSING_TARGET - The target resource has been deleted.
public SwitchoverDetail withStatus(String status)
The switchover status of a resource in a blue/green deployment.
Values:
PROVISIONING - The resource is being prepared to switch over.
AVAILABLE - The resource is ready to switch over.
SWITCHOVER_IN_PROGRESS - The resource is being switched over.
SWITCHOVER_COMPLETED - The resource has been switched over.
SWITCHOVER_FAILED - The resource attempted to switch over but failed.
MISSING_SOURCE - The source resource has been deleted.
MISSING_TARGET - The target resource has been deleted.
status - The switchover status of a resource in a blue/green deployment.
Values:
PROVISIONING - The resource is being prepared to switch over.
AVAILABLE - The resource is ready to switch over.
SWITCHOVER_IN_PROGRESS - The resource is being switched over.
SWITCHOVER_COMPLETED - The resource has been switched over.
SWITCHOVER_FAILED - The resource attempted to switch over but failed.
MISSING_SOURCE - The source resource has been deleted.
MISSING_TARGET - The target resource has been deleted.
public String toString()
toString in class ObjectObject.toString()public SwitchoverDetail clone()