Class CfnCloudVmCluster.DbNodeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnCloudVmCluster.DbNodeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudVmCluster.DbNodeProperty>
- Enclosing interface:
CfnCloudVmCluster.DbNodeProperty
@Stability(Stable)
public static final class CfnCloudVmCluster.DbNodeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudVmCluster.DbNodeProperty>
A builder for
CfnCloudVmCluster.DbNodeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbackupIpId(String backupIpId) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getBackupIpId()backupVnic2Id(String backupVnic2Id) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getBackupVnic2Id()build()Builds the configured instance.cpuCoreCount(Number cpuCoreCount) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getCpuCoreCount()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbNodeArn()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbNodeId()dbNodeStorageSizeInGBs(Number dbNodeStorageSizeInGBs) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbNodeStorageSizeInGBs()dbServerId(String dbServerId) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbServerId()dbSystemId(String dbSystemId) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbSystemId()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getHostIpId()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getHostname()memorySizeInGBs(Number memorySizeInGBs) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getMemorySizeInGBs()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getOcid()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getStatus()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getTags()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getVnic2Id()Sets the value ofCfnCloudVmCluster.DbNodeProperty.getVnicId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbServerId
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbServerId()- Parameters:
dbServerId- The unique identifier of the Db server that is associated with the DB node. This parameter is required.- Returns:
this
-
backupIpId
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getBackupIpId()- Parameters:
backupIpId- The Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.- Returns:
this
-
backupVnic2Id
@Stability(Stable) public CfnCloudVmCluster.DbNodeProperty.Builder backupVnic2Id(String backupVnic2Id) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getBackupVnic2Id()- Parameters:
backupVnic2Id- The OCID of the second backup VNIC.- Returns:
this
-
cpuCoreCount
@Stability(Stable) public CfnCloudVmCluster.DbNodeProperty.Builder cpuCoreCount(Number cpuCoreCount) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getCpuCoreCount()- Parameters:
cpuCoreCount- Number of CPU cores enabled on the DB node.- Returns:
this
-
dbNodeArn
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbNodeArn()- Parameters:
dbNodeArn- The Amazon Resource Name (ARN) of the DB node.- Returns:
this
-
dbNodeId
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbNodeId()- Parameters:
dbNodeId- The unique identifier of the DB node.- Returns:
this
-
dbNodeStorageSizeInGBs
@Stability(Stable) public CfnCloudVmCluster.DbNodeProperty.Builder dbNodeStorageSizeInGBs(Number dbNodeStorageSizeInGBs) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbNodeStorageSizeInGBs()- Parameters:
dbNodeStorageSizeInGBs- The amount of local node storage, in gigabytes (GBs), that's allocated on the DB node.- Returns:
this
-
dbSystemId
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getDbSystemId()- Parameters:
dbSystemId- The OCID of the DB system.- Returns:
this
-
hostIpId
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getHostIpId()- Parameters:
hostIpId- The OCID of the host IP address that's associated with the DB node.- Returns:
this
-
hostname
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getHostname()- Parameters:
hostname- The host name for the DB node.- Returns:
this
-
memorySizeInGBs
@Stability(Stable) public CfnCloudVmCluster.DbNodeProperty.Builder memorySizeInGBs(Number memorySizeInGBs) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getMemorySizeInGBs()- Parameters:
memorySizeInGBs- The allocated memory in GBs on the DB node.- Returns:
this
-
ocid
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getOcid()- Parameters:
ocid- The OCID of the DB node.- Returns:
this
-
status
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getStatus()- Parameters:
status- The current status of the DB node.- Returns:
this
-
tags
@Stability(Stable) public CfnCloudVmCluster.DbNodeProperty.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnCloudVmCluster.DbNodeProperty.getTags()- Parameters:
tags- the value to be set.- Returns:
this
-
vnic2Id
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getVnic2Id()- Parameters:
vnic2Id- The OCID of the second VNIC.- Returns:
this
-
vnicId
Sets the value ofCfnCloudVmCluster.DbNodeProperty.getVnicId()- Parameters:
vnicId- The OCID of the VNIC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCloudVmCluster.DbNodeProperty>- Returns:
- a new instance of
CfnCloudVmCluster.DbNodeProperty - Throws:
NullPointerException- if any required attribute was not provided
-