Class AddStandbyAutonomousContainerDatabaseDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class AddStandbyAutonomousContainerDatabaseDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Create Standby Autonomous Container Database to an existing Autonomous Container Database
    Note: Objects should always be created or deserialized using the AddStandbyAutonomousContainerDatabaseDetails.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 AddStandbyAutonomousContainerDatabaseDetails.Builder, which maintain a set of all explicitly set fields called AddStandbyAutonomousContainerDatabaseDetails.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).

    • Constructor Detail

      • AddStandbyAutonomousContainerDatabaseDetails

        @Deprecated
        @ConstructorProperties({"fastStartFailOverLagLimitInSeconds","isAutomaticFailoverEnabled","peerAutonomousContainerDatabaseBackupConfig","peerAutonomousContainerDatabaseCompartmentId","peerAutonomousContainerDatabaseDisplayName","peerCloudAutonomousVmClusterId","peerAutonomousVmClusterId","peerDbUniqueName","protectionMode","standbyMaintenanceBufferInDays"})
        public AddStandbyAutonomousContainerDatabaseDetails​(Integer fastStartFailOverLagLimitInSeconds,
                                                            Boolean isAutomaticFailoverEnabled,
                                                            PeerAutonomousContainerDatabaseBackupConfig peerAutonomousContainerDatabaseBackupConfig,
                                                            String peerAutonomousContainerDatabaseCompartmentId,
                                                            String peerAutonomousContainerDatabaseDisplayName,
                                                            String peerCloudAutonomousVmClusterId,
                                                            String peerAutonomousVmClusterId,
                                                            String peerDbUniqueName,
                                                            AddStandbyAutonomousContainerDatabaseDetails.ProtectionMode protectionMode,
                                                            Integer standbyMaintenanceBufferInDays)
        Deprecated.
    • Method Detail

      • getFastStartFailOverLagLimitInSeconds

        public Integer getFastStartFailOverLagLimitInSeconds()
        The lag time for my preference based on data loss tolerance in seconds.
        Returns:
        the value
      • getIsAutomaticFailoverEnabled

        public Boolean getIsAutomaticFailoverEnabled()
        Indicates whether Automatic Failover is enabled for Autonomous Container Database Dataguard Association
        Returns:
        the value
      • getPeerAutonomousContainerDatabaseCompartmentId

        public String getPeerAutonomousContainerDatabaseCompartmentId()
        The OCID of the compartment where the standby Autonomous Container Database will be created.
        Returns:
        the value
      • getPeerAutonomousContainerDatabaseDisplayName

        public String getPeerAutonomousContainerDatabaseDisplayName()
        The display name for the peer Autonomous Container Database.
        Returns:
        the value
      • getPeerCloudAutonomousVmClusterId

        public String getPeerCloudAutonomousVmClusterId()
        The OCID of the peer cloud Autonomous Exadata VM Cluster.
        Returns:
        the value
      • getPeerAutonomousVmClusterId

        public String getPeerAutonomousVmClusterId()
        The OCID of the peer Autonomous Exadata VM Cluster.
        Returns:
        the value
      • getPeerDbUniqueName

        public String getPeerDbUniqueName()
        Specifies the DB_UNIQUE_NAME of the peer database to be created.
        Returns:
        the value
      • getStandbyMaintenanceBufferInDays

        public Integer getStandbyMaintenanceBufferInDays()
        The scheduling detail for the quarterly maintenance window of the standby Autonomous Container Database.

        This value represents the number of days before scheduled maintenance of the primary database.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel