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