Interface DbServer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DbServer.Builder,DbServer>, SdkBuilder<DbServer.Builder,DbServer>, SdkPojo
Enclosing class:
DbServer

@Mutable @NotThreadSafe public static interface DbServer.Builder extends SdkPojo, CopyableBuilder<DbServer.Builder,DbServer>
  • Method Details

    • dbServerId

      DbServer.Builder dbServerId(String dbServerId)

      The unique identifier for the database server.

      Parameters:
      dbServerId - The unique identifier for the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      DbServer.Builder status(String status)

      The current status of the database server.

      Parameters:
      status - The current status of the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the database server.

      Parameters:
      status - The current status of the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      DbServer.Builder statusReason(String statusReason)

      Additional information about the current status of the database server.

      Parameters:
      statusReason - Additional information about the current status of the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cpuCoreCount

      DbServer.Builder cpuCoreCount(Integer cpuCoreCount)

      The number of CPU cores enabled on the database server.

      Parameters:
      cpuCoreCount - The number of CPU cores enabled on the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbNodeStorageSizeInGBs

      DbServer.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)

      The allocated local node storage in GBs on the database server.

      Parameters:
      dbNodeStorageSizeInGBs - The allocated local node storage in GBs on the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbServerPatchingDetails

      DbServer.Builder dbServerPatchingDetails(DbServerPatchingDetails dbServerPatchingDetails)

      The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.

      Parameters:
      dbServerPatchingDetails - The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dbServerPatchingDetails

      default DbServer.Builder dbServerPatchingDetails(Consumer<DbServerPatchingDetails.Builder> dbServerPatchingDetails)

      The scheduling details for the quarterly maintenance window. Patching and system updates take place during the maintenance window.

      This is a convenience method that creates an instance of the DbServerPatchingDetails.Builder avoiding the need to create one manually via DbServerPatchingDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dbServerPatchingDetails(DbServerPatchingDetails).

      Parameters:
      dbServerPatchingDetails - a consumer that will call methods on DbServerPatchingDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • displayName

      DbServer.Builder displayName(String displayName)

      The user-friendly name of the database server.

      Parameters:
      displayName - The user-friendly name of the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exadataInfrastructureId

      DbServer.Builder exadataInfrastructureId(String exadataInfrastructureId)

      The ID of the Exadata infrastructure the database server belongs to.

      Parameters:
      exadataInfrastructureId - The ID of the Exadata infrastructure the database server belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ocid

      The OCID of the database server.

      Parameters:
      ocid - The OCID of the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ociResourceAnchorName

      DbServer.Builder ociResourceAnchorName(String ociResourceAnchorName)

      The name of the OCI resource anchor for the database server.

      Parameters:
      ociResourceAnchorName - The name of the OCI resource anchor for the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxCpuCount

      DbServer.Builder maxCpuCount(Integer maxCpuCount)

      The total number of CPU cores available.

      Parameters:
      maxCpuCount - The total number of CPU cores available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxDbNodeStorageInGBs

      DbServer.Builder maxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)

      The total local node storage available in GBs.

      Parameters:
      maxDbNodeStorageInGBs - The total local node storage available in GBs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxMemoryInGBs

      DbServer.Builder maxMemoryInGBs(Integer maxMemoryInGBs)

      The total memory available in GBs.

      Parameters:
      maxMemoryInGBs - The total memory available in GBs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memorySizeInGBs

      DbServer.Builder memorySizeInGBs(Integer memorySizeInGBs)

      The allocated memory in GBs on the database server.

      Parameters:
      memorySizeInGBs - The allocated memory in GBs on the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • shape

      DbServer.Builder shape(String shape)

      The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.

      Parameters:
      shape - The shape of the database server. The shape determines the amount of CPU, storage, and memory resources available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      DbServer.Builder createdAt(Instant createdAt)

      The date and time when the database server was created.

      Parameters:
      createdAt - The date and time when the database server was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmClusterIds

      DbServer.Builder vmClusterIds(Collection<String> vmClusterIds)

      The OCID of the VM clusters that are associated with the database server.

      Parameters:
      vmClusterIds - The OCID of the VM clusters that are associated with the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • vmClusterIds

      DbServer.Builder vmClusterIds(String... vmClusterIds)

      The OCID of the VM clusters that are associated with the database server.

      Parameters:
      vmClusterIds - The OCID of the VM clusters that are associated with the database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • computeModel

      DbServer.Builder computeModel(String computeModel)

      The compute model of the database server (ECPU or OCPU).

      Parameters:
      computeModel - The compute model of the database server (ECPU or OCPU).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • computeModel

      DbServer.Builder computeModel(ComputeModel computeModel)

      The compute model of the database server (ECPU or OCPU).

      Parameters:
      computeModel - The compute model of the database server (ECPU or OCPU).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • autonomousVmClusterIds

      DbServer.Builder autonomousVmClusterIds(Collection<String> autonomousVmClusterIds)

      The list of identifiers for the Autonomous VM clusters associated with this database server.

      Parameters:
      autonomousVmClusterIds - The list of identifiers for the Autonomous VM clusters associated with this database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autonomousVmClusterIds

      DbServer.Builder autonomousVmClusterIds(String... autonomousVmClusterIds)

      The list of identifiers for the Autonomous VM clusters associated with this database server.

      Parameters:
      autonomousVmClusterIds - The list of identifiers for the Autonomous VM clusters associated with this database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autonomousVirtualMachineIds

      DbServer.Builder autonomousVirtualMachineIds(Collection<String> autonomousVirtualMachineIds)

      The list of unique identifiers for the Autonomous VMs associated with this database server.

      Parameters:
      autonomousVirtualMachineIds - The list of unique identifiers for the Autonomous VMs associated with this database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autonomousVirtualMachineIds

      DbServer.Builder autonomousVirtualMachineIds(String... autonomousVirtualMachineIds)

      The list of unique identifiers for the Autonomous VMs associated with this database server.

      Parameters:
      autonomousVirtualMachineIds - The list of unique identifiers for the Autonomous VMs associated with this database server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.