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