Class AutonomousDatabaseStandbySummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • lagTimeInSeconds

        public AutonomousDatabaseStandbySummary.Builder lagTimeInSeconds​(Integer lagTimeInSeconds)
        The amount of time, in seconds, that the data of the standby database lags the data of the primary database.

        Can be used to determine the potential data loss in the event of a failover.

        Parameters:
        lagTimeInSeconds - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public AutonomousDatabaseStandbySummary.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycle state.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • timeDataGuardRoleChanged

        public AutonomousDatabaseStandbySummary.Builder timeDataGuardRoleChanged​(Date timeDataGuardRoleChanged)
        The date and time the Autonomous Data Guard role was switched for the standby Autonomous AI Database.
        Parameters:
        timeDataGuardRoleChanged - the value to set
        Returns:
        this builder
      • timeDisasterRecoveryRoleChanged

        public AutonomousDatabaseStandbySummary.Builder timeDisasterRecoveryRoleChanged​(Date timeDisasterRecoveryRoleChanged)
        The date and time the Disaster Recovery role was switched for the standby Autonomous AI Database.
        Parameters:
        timeDisasterRecoveryRoleChanged - the value to set
        Returns:
        this builder
      • timeMaintenanceBegin

        public AutonomousDatabaseStandbySummary.Builder timeMaintenanceBegin​(Date timeMaintenanceBegin)
        The date and time when maintenance will begin.
        Parameters:
        timeMaintenanceBegin - the value to set
        Returns:
        this builder
      • timeMaintenanceEnd

        public AutonomousDatabaseStandbySummary.Builder timeMaintenanceEnd​(Date timeMaintenanceEnd)
        The date and time when maintenance will end.
        Parameters:
        timeMaintenanceEnd - the value to set
        Returns:
        this builder
      • maintenanceTargetComponent

        public AutonomousDatabaseStandbySummary.Builder maintenanceTargetComponent​(String maintenanceTargetComponent)
        The component chosen for maintenance.
        Parameters:
        maintenanceTargetComponent - the value to set
        Returns:
        this builder
      • availabilityDomain

        public AutonomousDatabaseStandbySummary.Builder availabilityDomain​(String availabilityDomain)
        The availability domain of a local Autonomous Data Guard standby database of an Autonomous AI Database Serverless instance.
        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • externalLocationZone

        public AutonomousDatabaseStandbySummary.Builder externalLocationZone​(String externalLocationZone)
        The external logical zone where the local Autonomous Data Guard is located (Intended for multicloud use).
        Parameters:
        externalLocationZone - the value to set
        Returns:
        this builder