Package com.oracle.bmc.database.model
Enum CreateDataGuardAssociationDetails.TransportType
- java.lang.Object
-
- java.lang.Enum<CreateDataGuardAssociationDetails.TransportType>
-
- com.oracle.bmc.database.model.CreateDataGuardAssociationDetails.TransportType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateDataGuardAssociationDetails.TransportType>
- Enclosing class:
- CreateDataGuardAssociationDetails
public static enum CreateDataGuardAssociationDetails.TransportType extends Enum<CreateDataGuardAssociationDetails.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 CreateDataGuardAssociationDetails.TransportType
create(String key)
String
getValue()
static CreateDataGuardAssociationDetails.TransportType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateDataGuardAssociationDetails.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 CreateDataGuardAssociationDetails.TransportType Sync
-
Async
public static final CreateDataGuardAssociationDetails.TransportType Async
-
Fastsync
public static final CreateDataGuardAssociationDetails.TransportType Fastsync
-
-
Method Detail
-
values
public static CreateDataGuardAssociationDetails.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 (CreateDataGuardAssociationDetails.TransportType c : CreateDataGuardAssociationDetails.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 CreateDataGuardAssociationDetails.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 CreateDataGuardAssociationDetails.TransportType create(String key)
-
-