@Generated(value="software.amazon.awssdk:codegen") public final class BlueGreenDeployment extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BlueGreenDeployment.Builder,BlueGreenDeployment>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BlueGreenDeployment.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
blueGreenDeploymentIdentifier()
The system-generated identifier of the blue/green deployment.
|
String |
blueGreenDeploymentName()
The user-supplied name of the blue/green deployment.
|
static BlueGreenDeployment.Builder |
builder() |
Instant |
createTime()
Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
|
Instant |
deleteTime()
Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSwitchoverDetails()
For responses, this returns true if the service returned a value for the SwitchoverDetails property.
|
boolean |
hasTagList()
For responses, this returns true if the service returned a value for the TagList property.
|
boolean |
hasTasks()
For responses, this returns true if the service returned a value for the Tasks property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BlueGreenDeployment.Builder> |
serializableBuilderClass() |
String |
source()
The source database for the blue/green deployment.
|
String |
status()
The status of the blue/green deployment.
|
String |
statusDetails()
Additional information about the status of the blue/green deployment.
|
List<SwitchoverDetail> |
switchoverDetails()
The details about each source and target resource in the blue/green deployment.
|
List<Tag> |
tagList()
Returns the value of the TagList property for this object.
|
String |
target()
The target database for the blue/green deployment.
|
List<BlueGreenDeploymentTask> |
tasks()
Either tasks to be performed or tasks that have been completed on the target database before switchover.
|
BlueGreenDeployment.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String blueGreenDeploymentIdentifier()
The system-generated identifier of the blue/green deployment.
public final String blueGreenDeploymentName()
The user-supplied name of the blue/green deployment.
public final String source()
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 final String target()
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 final boolean hasSwitchoverDetails()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<SwitchoverDetail> switchoverDetails()
The details about each source and target resource in the blue/green deployment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSwitchoverDetails() method.
public final boolean hasTasks()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<BlueGreenDeploymentTask> tasks()
Either tasks to be performed or tasks that have been completed on the target database before switchover.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTasks() method.
public final String status()
The status of the blue/green deployment.
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.
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 final String statusDetails()
Additional information about the status of the blue/green deployment.
public final Instant createTime()
Specifies the time when the blue/green deployment was created, in Universal Coordinated Time (UTC).
public final Instant deleteTime()
Specifies the time when the blue/green deployment was deleted, in Universal Coordinated Time (UTC).
public final boolean hasTagList()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<Tag> tagList()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTagList() method.
public BlueGreenDeployment.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BlueGreenDeployment.Builder,BlueGreenDeployment>public static BlueGreenDeployment.Builder builder()
public static Class<? extends BlueGreenDeployment.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.