Class CfnCloudVmClusterProps.Builder
java.lang.Object
software.amazon.awscdk.services.odb.CfnCloudVmClusterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudVmClusterProps>
- Enclosing interface:
CfnCloudVmClusterProps
@Stability(Stable)
public static final class CfnCloudVmClusterProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudVmClusterProps>
A builder for
CfnCloudVmClusterProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cloudExadataInfrastructureId
(String cloudExadataInfrastructureId) Sets the value ofCfnCloudVmClusterProps.getCloudExadataInfrastructureId()
clusterName
(String clusterName) Sets the value ofCfnCloudVmClusterProps.getClusterName()
cpuCoreCount
(Number cpuCoreCount) Sets the value ofCfnCloudVmClusterProps.getCpuCoreCount()
dataCollectionOptions
(IResolvable dataCollectionOptions) Sets the value ofCfnCloudVmClusterProps.getDataCollectionOptions()
dataCollectionOptions
(CfnCloudVmCluster.DataCollectionOptionsProperty dataCollectionOptions) Sets the value ofCfnCloudVmClusterProps.getDataCollectionOptions()
dataStorageSizeInTBs
(Number dataStorageSizeInTBs) Sets the value ofCfnCloudVmClusterProps.getDataStorageSizeInTBs()
dbNodeStorageSizeInGBs
(Number dbNodeStorageSizeInGBs) Sets the value ofCfnCloudVmClusterProps.getDbNodeStorageSizeInGBs()
Sets the value ofCfnCloudVmClusterProps.getDbServers()
displayName
(String displayName) Sets the value ofCfnCloudVmClusterProps.getDisplayName()
Sets the value ofCfnCloudVmClusterProps.getGiVersion()
Sets the value ofCfnCloudVmClusterProps.getHostname()
isLocalBackupEnabled
(Boolean isLocalBackupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsLocalBackupEnabled()
isLocalBackupEnabled
(IResolvable isLocalBackupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsLocalBackupEnabled()
isSparseDiskgroupEnabled
(Boolean isSparseDiskgroupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsSparseDiskgroupEnabled()
isSparseDiskgroupEnabled
(IResolvable isSparseDiskgroupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsSparseDiskgroupEnabled()
licenseModel
(String licenseModel) Sets the value ofCfnCloudVmClusterProps.getLicenseModel()
memorySizeInGBs
(Number memorySizeInGBs) Sets the value ofCfnCloudVmClusterProps.getMemorySizeInGBs()
odbNetworkId
(String odbNetworkId) Sets the value ofCfnCloudVmClusterProps.getOdbNetworkId()
scanListenerPortTcp
(Number scanListenerPortTcp) Sets the value ofCfnCloudVmClusterProps.getScanListenerPortTcp()
sshPublicKeys
(List<String> sshPublicKeys) Sets the value ofCfnCloudVmClusterProps.getSshPublicKeys()
systemVersion
(String systemVersion) Sets the value ofCfnCloudVmClusterProps.getSystemVersion()
Sets the value ofCfnCloudVmClusterProps.getTags()
Sets the value ofCfnCloudVmClusterProps.getTimeZone()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudExadataInfrastructureId
@Stability(Stable) public CfnCloudVmClusterProps.Builder cloudExadataInfrastructureId(String cloudExadataInfrastructureId) Sets the value ofCfnCloudVmClusterProps.getCloudExadataInfrastructureId()
- Parameters:
cloudExadataInfrastructureId
- The unique identifier of the Exadata infrastructure that this VM cluster belongs to. Required when creating a VM cluster.- Returns:
this
-
clusterName
Sets the value ofCfnCloudVmClusterProps.getClusterName()
- Parameters:
clusterName
- The name of the Grid Infrastructure (GI) cluster.- Returns:
this
-
cpuCoreCount
Sets the value ofCfnCloudVmClusterProps.getCpuCoreCount()
- Parameters:
cpuCoreCount
- The number of CPU cores enabled on the VM cluster. Required when creating a VM cluster.- Returns:
this
-
dataCollectionOptions
@Stability(Stable) public CfnCloudVmClusterProps.Builder dataCollectionOptions(IResolvable dataCollectionOptions) Sets the value ofCfnCloudVmClusterProps.getDataCollectionOptions()
- Parameters:
dataCollectionOptions
- The set of diagnostic collection options enabled for the VM cluster.- Returns:
this
-
dataCollectionOptions
@Stability(Stable) public CfnCloudVmClusterProps.Builder dataCollectionOptions(CfnCloudVmCluster.DataCollectionOptionsProperty dataCollectionOptions) Sets the value ofCfnCloudVmClusterProps.getDataCollectionOptions()
- Parameters:
dataCollectionOptions
- The set of diagnostic collection options enabled for the VM cluster.- Returns:
this
-
dataStorageSizeInTBs
@Stability(Stable) public CfnCloudVmClusterProps.Builder dataStorageSizeInTBs(Number dataStorageSizeInTBs) Sets the value ofCfnCloudVmClusterProps.getDataStorageSizeInTBs()
- Parameters:
dataStorageSizeInTBs
- The size of the data disk group, in terabytes (TB), that's allocated for the VM cluster.- Returns:
this
-
dbNodeStorageSizeInGBs
@Stability(Stable) public CfnCloudVmClusterProps.Builder dbNodeStorageSizeInGBs(Number dbNodeStorageSizeInGBs) Sets the value ofCfnCloudVmClusterProps.getDbNodeStorageSizeInGBs()
- Parameters:
dbNodeStorageSizeInGBs
- The amount of local node storage, in gigabytes (GB), that's allocated for the VM cluster.- Returns:
this
-
dbServers
Sets the value ofCfnCloudVmClusterProps.getDbServers()
- Parameters:
dbServers
- The list of database servers for the VM cluster.- Returns:
this
-
displayName
Sets the value ofCfnCloudVmClusterProps.getDisplayName()
- Parameters:
displayName
- The user-friendly name for the VM cluster. Required when creating a VM cluster.- Returns:
this
-
giVersion
Sets the value ofCfnCloudVmClusterProps.getGiVersion()
- Parameters:
giVersion
- The software version of the Oracle Grid Infrastructure (GI) for the VM cluster. Required when creating a VM cluster.- Returns:
this
-
hostname
Sets the value ofCfnCloudVmClusterProps.getHostname()
- Parameters:
hostname
- The host name for the VM cluster. Required when creating a VM cluster.- Returns:
this
-
isLocalBackupEnabled
@Stability(Stable) public CfnCloudVmClusterProps.Builder isLocalBackupEnabled(Boolean isLocalBackupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsLocalBackupEnabled()
- Parameters:
isLocalBackupEnabled
- Specifies whether database backups to local Exadata storage are enabled for the VM cluster.- Returns:
this
-
isLocalBackupEnabled
@Stability(Stable) public CfnCloudVmClusterProps.Builder isLocalBackupEnabled(IResolvable isLocalBackupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsLocalBackupEnabled()
- Parameters:
isLocalBackupEnabled
- Specifies whether database backups to local Exadata storage are enabled for the VM cluster.- Returns:
this
-
isSparseDiskgroupEnabled
@Stability(Stable) public CfnCloudVmClusterProps.Builder isSparseDiskgroupEnabled(Boolean isSparseDiskgroupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsSparseDiskgroupEnabled()
- Parameters:
isSparseDiskgroupEnabled
- Specifies whether the VM cluster is configured with a sparse disk group.- Returns:
this
-
isSparseDiskgroupEnabled
@Stability(Stable) public CfnCloudVmClusterProps.Builder isSparseDiskgroupEnabled(IResolvable isSparseDiskgroupEnabled) Sets the value ofCfnCloudVmClusterProps.getIsSparseDiskgroupEnabled()
- Parameters:
isSparseDiskgroupEnabled
- Specifies whether the VM cluster is configured with a sparse disk group.- Returns:
this
-
licenseModel
Sets the value ofCfnCloudVmClusterProps.getLicenseModel()
- Parameters:
licenseModel
- The Oracle license model applied to the VM cluster.- Returns:
this
-
memorySizeInGBs
Sets the value ofCfnCloudVmClusterProps.getMemorySizeInGBs()
- Parameters:
memorySizeInGBs
- The amount of memory, in gigabytes (GB), that's allocated for the VM cluster.- Returns:
this
-
odbNetworkId
Sets the value ofCfnCloudVmClusterProps.getOdbNetworkId()
- Parameters:
odbNetworkId
- The unique identifier of the ODB network for the VM cluster. Required when creating a VM cluster.- Returns:
this
-
scanListenerPortTcp
@Stability(Stable) public CfnCloudVmClusterProps.Builder scanListenerPortTcp(Number scanListenerPortTcp) Sets the value ofCfnCloudVmClusterProps.getScanListenerPortTcp()
- Parameters:
scanListenerPortTcp
- The port number for TCP connections to the single client access name (SCAN) listener. Valid values:1024–8999
with the following exceptions:2484
,6100
,6200
,7060
,7070
,7085
, and7879
Default:
1521
- Returns:
this
-
sshPublicKeys
Sets the value ofCfnCloudVmClusterProps.getSshPublicKeys()
- Parameters:
sshPublicKeys
- The public key portion of one or more key pairs used for SSH access to the VM cluster. Required when creating a VM cluster.- Returns:
this
-
systemVersion
Sets the value ofCfnCloudVmClusterProps.getSystemVersion()
- Parameters:
systemVersion
- The operating system version of the image chosen for the VM cluster.- Returns:
this
-
tags
Sets the value ofCfnCloudVmClusterProps.getTags()
- Parameters:
tags
- Tags to assign to the Vm Cluster.- Returns:
this
-
timeZone
Sets the value ofCfnCloudVmClusterProps.getTimeZone()
- Parameters:
timeZone
- The time zone of the VM cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCloudVmClusterProps>
- Returns:
- a new instance of
CfnCloudVmClusterProps
- Throws:
NullPointerException
- if any required attribute was not provided
-