Class CreateAutonomousContainerDatabaseDataguardAssociationDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class CreateAutonomousContainerDatabaseDataguardAssociationDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Create Autonomous Dataguard Association to an existing Autonomous Container Database
    Note: Objects should always be created or deserialized using the CreateAutonomousContainerDatabaseDataguardAssociationDetails.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 CreateAutonomousContainerDatabaseDataguardAssociationDetails.Builder, which maintain a set of all explicitly set fields called CreateAutonomousContainerDatabaseDataguardAssociationDetails.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

      • CreateAutonomousContainerDatabaseDataguardAssociationDetails

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

      • getPeerAutonomousContainerDatabaseDisplayName

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

        public String getPeerAutonomousContainerDatabaseCompartmentId()
        The OCID of the compartment where the standby Autonomous Container Database will be created.
        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
      • getIsAutomaticFailoverEnabled

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

        public Integer getFastStartFailOverLagLimitInSeconds()
        The lag time for my preference based on data loss tolerance in seconds.
        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