Class SwitchoverDetail
- java.lang.Object
-
- software.amazon.awssdk.services.rds.model.SwitchoverDetail
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SwitchoverDetail.Builder,SwitchoverDetail>
@Generated("software.amazon.awssdk:codegen") public final class SwitchoverDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SwitchoverDetail.Builder,SwitchoverDetail>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SwitchoverDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SwitchoverDetail.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends SwitchoverDetail.Builder>
serializableBuilderClass()
String
sourceMember()
The Amazon Resource Name (ARN) of a resource in the blue environment.String
status()
The switchover status of a resource in a blue/green deployment.String
targetMember()
The Amazon Resource Name (ARN) of a resource in the green environment.SwitchoverDetail.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
sourceMember
public final String sourceMember()
The Amazon Resource Name (ARN) of a resource in the blue environment.
- Returns:
- The Amazon Resource Name (ARN) of a resource in the blue environment.
-
targetMember
public final String targetMember()
The Amazon Resource Name (ARN) of a resource in the green environment.
- Returns:
- The Amazon Resource Name (ARN) of a resource in the green environment.
-
status
public final 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.
- Returns:
- 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.
-
-
-
toBuilder
public SwitchoverDetail.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<SwitchoverDetail.Builder,SwitchoverDetail>
-
builder
public static SwitchoverDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends SwitchoverDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-