@Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public final class DbSystem extends Object
A DB System is the core logical unit of MySQL Database Service.
DbSystem.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the DbSystem.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
DbSystem.Builder |
static class |
DbSystem.LifecycleState
The current state of the DB System.
|
| Constructor and Description |
|---|
DbSystem(String id,
String displayName,
String description,
String compartmentId,
String subnetId,
Boolean isAnalyticsClusterAttached,
AnalyticsClusterSummary analyticsCluster,
String availabilityDomain,
String faultDomain,
String shapeName,
String mysqlVersion,
BackupPolicy backupPolicy,
DbSystemSource source,
String configurationId,
Integer dataStorageSizeInGBs,
String hostnameLabel,
String ipAddress,
Integer port,
Integer portX,
List<DbSystemEndpoint> endpoints,
List<ChannelSummary> channels,
DbSystem.LifecycleState lifecycleState,
String lifecycleDetails,
MaintenanceDetails maintenance,
Date timeCreated,
Date timeUpdated,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DbSystem.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
AnalyticsClusterSummary |
getAnalyticsCluster() |
String |
getAvailabilityDomain()
The Availability Domain where the primary DB System should be located.
|
BackupPolicy |
getBackupPolicy() |
List<ChannelSummary> |
getChannels()
A list with a summary of all the Channels attached to the DB System.
|
String |
getCompartmentId()
The OCID of the compartment the DB System belongs in.
|
String |
getConfigurationId()
The OCID of the Configuration to be used for Instances in this DB System.
|
Integer |
getDataStorageSizeInGBs()
Initial size of the data volume in GiBs that will be created and attached.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
User-provided data about the DB System.
|
String |
getDisplayName()
The user-friendly name for the DB System.
|
List<DbSystemEndpoint> |
getEndpoints()
The network endpoints available for this DB System.
|
String |
getFaultDomain()
The name of the Fault Domain the DB System is located in.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getHostnameLabel()
The hostname for the primary endpoint of the DB System.
|
String |
getId()
The OCID of the DB System.
|
String |
getIpAddress()
The IP address the DB System is configured to listen on.
|
Boolean |
getIsAnalyticsClusterAttached()
If the DB System has an Analytics Cluster attached.
|
String |
getLifecycleDetails()
Additional information about the current lifecycleState.
|
DbSystem.LifecycleState |
getLifecycleState()
The current state of the DB System.
|
MaintenanceDetails |
getMaintenance() |
String |
getMysqlVersion()
Name of the MySQL Version in use for the DB System.
|
Integer |
getPort()
The port for primary endpoint of the DB System to listen on.
|
Integer |
getPortX()
The network port on which X Plugin listens for TCP/IP connections.
|
String |
getShapeName()
The shape of the primary instances of the DB System.
|
DbSystemSource |
getSource() |
String |
getSubnetId()
The OCID of the subnet the DB System is associated with.
|
Date |
getTimeCreated()
The date and time the DB System was created.
|
Date |
getTimeUpdated()
The time the DB System was last updated.
|
int |
hashCode() |
DbSystem.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","displayName","description","compartmentId","subnetId","isAnalyticsClusterAttached","analyticsCluster","availabilityDomain","faultDomain","shapeName","mysqlVersion","backupPolicy","source","configurationId","dataStorageSizeInGBs","hostnameLabel","ipAddress","port","portX","endpoints","channels","lifecycleState","lifecycleDetails","maintenance","timeCreated","timeUpdated","freeformTags","definedTags"}) @Deprecated public DbSystem(String id, String displayName, String description, String compartmentId, String subnetId, Boolean isAnalyticsClusterAttached, AnalyticsClusterSummary analyticsCluster, String availabilityDomain, String faultDomain, String shapeName, String mysqlVersion, BackupPolicy backupPolicy, DbSystemSource source, String configurationId, Integer dataStorageSizeInGBs, String hostnameLabel, String ipAddress, Integer port, Integer portX, List<DbSystemEndpoint> endpoints, List<ChannelSummary> channels, DbSystem.LifecycleState lifecycleState, String lifecycleDetails, MaintenanceDetails maintenance, Date timeCreated, Date timeUpdated, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static DbSystem.Builder builder()
Create a new builder.
public DbSystem.Builder toBuilder()
public String getId()
The OCID of the DB System.
public String getDisplayName()
The user-friendly name for the DB System. It does not have to be unique.
public String getDescription()
User-provided data about the DB System.
public String getCompartmentId()
The OCID of the compartment the DB System belongs in.
public String getSubnetId()
The OCID of the subnet the DB System is associated with.
public Boolean getIsAnalyticsClusterAttached()
If the DB System has an Analytics Cluster attached.
public AnalyticsClusterSummary getAnalyticsCluster()
public String getAvailabilityDomain()
The Availability Domain where the primary DB System should be located.
public String getFaultDomain()
The name of the Fault Domain the DB System is located in.
public String getShapeName()
The shape of the primary instances of the DB System. The shape
determines resources allocated to a DB System - CPU cores
and memory for VM shapes; CPU cores, memory and storage for non-VM
(or bare metal) shapes. To get a list of shapes, use (the
listShapes operation.
public String getMysqlVersion()
Name of the MySQL Version in use for the DB System.
public BackupPolicy getBackupPolicy()
public DbSystemSource getSource()
public String getConfigurationId()
The OCID of the Configuration to be used for Instances in this DB System.
public Integer getDataStorageSizeInGBs()
Initial size of the data volume in GiBs that will be created and attached.
public String getHostnameLabel()
The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP’s fully qualified domain name (FQDN) (for example, "dbsystem-1" in FQDN "dbsystem-1.subnet123.vcn1.oraclevcn.com"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.
public String getIpAddress()
The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet’s CIDR. This will be a "dotted-quad" style IPv4 address.
public Integer getPort()
The port for primary endpoint of the DB System to listen on.
public Integer getPortX()
The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.
public List<DbSystemEndpoint> getEndpoints()
The network endpoints available for this DB System.
public List<ChannelSummary> getChannels()
A list with a summary of all the Channels attached to the DB System.
public DbSystem.LifecycleState getLifecycleState()
The current state of the DB System.
public String getLifecycleDetails()
Additional information about the current lifecycleState.
public MaintenanceDetails getMaintenance()
public Date getTimeCreated()
The date and time the DB System was created.
public Date getTimeUpdated()
The time the DB System was last updated.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {\"bar-key\": \"value\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
Copyright © 2016–2021. All rights reserved.