Package com.oracle.bmc.database.model
Enum UpdateDataGuardDetails.TransportType
- java.lang.Object
-
- java.lang.Enum<UpdateDataGuardDetails.TransportType>
-
- com.oracle.bmc.database.model.UpdateDataGuardDetails.TransportType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<UpdateDataGuardDetails.TransportType>
- Enclosing class:
- UpdateDataGuardDetails
public static enum UpdateDataGuardDetails.TransportType extends Enum<UpdateDataGuardDetails.TransportType> implements BmcEnum
The redo transport type to use for this Data Guard association.Valid values depend on the specified protectionMode:
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION - SYNC
For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
*IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDataGuardDetails.TransportType
create(String key)
String
getValue()
static UpdateDataGuardDetails.TransportType
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpdateDataGuardDetails.TransportType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sync
public static final UpdateDataGuardDetails.TransportType Sync
-
Async
public static final UpdateDataGuardDetails.TransportType Async
-
Fastsync
public static final UpdateDataGuardDetails.TransportType Fastsync
-
-
Method Detail
-
values
public static UpdateDataGuardDetails.TransportType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (UpdateDataGuardDetails.TransportType c : UpdateDataGuardDetails.TransportType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpdateDataGuardDetails.TransportType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static UpdateDataGuardDetails.TransportType create(String key)
-
-