Class ExadataInfrastructure.Builder
- java.lang.Object
-
- com.oracle.bmc.database.model.ExadataInfrastructure.Builder
-
- Enclosing class:
- ExadataInfrastructure
public static class ExadataInfrastructure.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExadataInfrastructure.BuilderactivatedStorageCount(Integer activatedStorageCount)The requested number of additional storage servers activated for the Exadata infrastructure.ExadataInfrastructure.BuilderadditionalComputeCount(Integer additionalComputeCount)The requested number of additional compute servers for the Exadata infrastructure.ExadataInfrastructure.BuilderadditionalComputeSystemModel(ExadataInfrastructure.AdditionalComputeSystemModel additionalComputeSystemModel)Oracle Exadata System Model specification.ExadataInfrastructure.BuilderadditionalStorageCount(Integer additionalStorageCount)The requested number of additional storage servers for the Exadata infrastructure.ExadataInfrastructure.BuilderadminNetworkCIDR(String adminNetworkCIDR)The CIDR block for the Exadata administration network.ExadataInfrastructure.BuilderavailabilityDomain(String availabilityDomain)The name of the availability domain that the Exadata infrastructure is located in.ExadataInfrastructurebuild()ExadataInfrastructure.BuildercloudControlPlaneServer1(String cloudControlPlaneServer1)The IP address for the first control plane server.ExadataInfrastructure.BuildercloudControlPlaneServer2(String cloudControlPlaneServer2)The IP address for the second control plane server.ExadataInfrastructure.BuildercompartmentId(String compartmentId)The OCID of the compartment.ExadataInfrastructure.BuildercomputeCount(Integer computeCount)The number of compute servers for the Exadata infrastructure.ExadataInfrastructure.BuildercomputeModel(ExadataInfrastructure.ComputeModel computeModel)The compute model of the Autonomous Database.ExadataInfrastructure.Buildercontacts(List<ExadataInfrastructureContact> contacts)The list of contacts for the Exadata infrastructure.ExadataInfrastructure.Buildercopy(ExadataInfrastructure model)ExadataInfrastructure.BuildercorporateProxy(String corporateProxy)The corporate network proxy for access to the control plane network.ExadataInfrastructure.BuildercpusEnabled(Integer cpusEnabled)The number of enabled CPU cores.ExadataInfrastructure.BuildercsiNumber(String csiNumber)The CSI Number of the Exadata infrastructure.ExadataInfrastructure.BuilderdatabaseServerType(String databaseServerType)The database server type of the Exadata infrastructure.ExadataInfrastructure.BuilderdataStorageSizeInTBs(Double dataStorageSizeInTBs)Size, in terabytes, of the DATA disk group.ExadataInfrastructure.BuilderdbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)The local node storage allocated in GBs.ExadataInfrastructure.BuilderdbServerVersion(String dbServerVersion)The software version of the database servers (dom0) in the Exadata infrastructure.ExadataInfrastructure.BuilderdefinedFileSystemConfigurations(List<DefinedFileSystemConfiguration> definedFileSystemConfigurations)Details of the file system configuration of the Exadata infrastructure.ExadataInfrastructure.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ExadataInfrastructure.BuilderdisplayName(String displayName)The user-friendly name for the Exadata Cloud@Customer infrastructure.ExadataInfrastructure.BuilderdnsServer(List<String> dnsServer)The list of DNS server IP addresses.ExadataInfrastructure.BuilderexascaleConfig(ExascaleConfigDetails exascaleConfig)ExadataInfrastructure.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ExadataInfrastructure.Buildergateway(String gateway)The gateway for the control plane network.ExadataInfrastructure.Builderid(String id)The OCID of the Exadata infrastructure.ExadataInfrastructure.BuilderinfiniBandNetworkCIDR(String infiniBandNetworkCIDR)The CIDR block for the Exadata InfiniBand interconnect.ExadataInfrastructure.BuilderisCpsOfflineReportEnabled(Boolean isCpsOfflineReportEnabled)Indicates whether cps offline diagnostic report is enabled for this Exadata infrastructure.ExadataInfrastructure.BuilderisMultiRackDeployment(Boolean isMultiRackDeployment)Indicates if deployment is Multi-Rack or not.ExadataInfrastructure.BuilderisSchedulingPolicyAssociated(Boolean isSchedulingPolicyAssociated)If true, the infrastructure is using granular maintenance scheduling preference.ExadataInfrastructure.BuilderlastMaintenanceRunId(String lastMaintenanceRunId)The OCID of the last maintenance run.ExadataInfrastructure.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state.ExadataInfrastructure.BuilderlifecycleState(ExadataInfrastructure.LifecycleState lifecycleState)The current lifecycle state of the Exadata infrastructure.ExadataInfrastructure.BuildermaintenanceSLOStatus(ExadataInfrastructure.MaintenanceSLOStatus maintenanceSLOStatus)A field to capture \u2018Maintenance SLO Status\u2019 for the Exadata infrastructure with values \u2018OK\u2019, \u2018DEGRADED\u2019.ExadataInfrastructure.BuildermaintenanceWindow(MaintenanceWindow maintenanceWindow)ExadataInfrastructure.BuildermaxCpuCount(Integer maxCpuCount)The total number of CPU cores available.ExadataInfrastructure.BuildermaxDataStorageInTBs(Double maxDataStorageInTBs)The total available DATA disk group size.ExadataInfrastructure.BuildermaxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)The total local node storage available in GBs.ExadataInfrastructure.BuildermaxMemoryInGBs(Integer maxMemoryInGBs)The total memory available in GBs.ExadataInfrastructure.BuildermemorySizeInGBs(Integer memorySizeInGBs)The memory allocated in GBs.ExadataInfrastructure.BuildermonthlyDbServerVersion(String monthlyDbServerVersion)The monthly software version of the database servers (dom0) in the Exadata infrastructure.ExadataInfrastructure.BuildermultiRackConfigurationFile(byte[] multiRackConfigurationFile)The base64 encoded Multi-Rack configuration json file.ExadataInfrastructure.Buildernetmask(String netmask)The netmask for the control plane network.ExadataInfrastructure.BuildernetworkBondingModeDetails(NetworkBondingModeDetails networkBondingModeDetails)ExadataInfrastructure.BuildernextMaintenanceRunId(String nextMaintenanceRunId)The OCID of the next maintenance run.ExadataInfrastructure.BuilderntpServer(List<String> ntpServer)The list of NTP server IP addresses.ExadataInfrastructure.BuilderrackSerialNumber(String rackSerialNumber)The serial number for the Exadata infrastructure.ExadataInfrastructure.Buildershape(String shape)The shape of the Exadata infrastructure.ExadataInfrastructure.BuilderstorageCount(Integer storageCount)The number of Exadata storage servers for the Exadata infrastructure.ExadataInfrastructure.BuilderstorageServerType(String storageServerType)The storage server type of the Exadata infrastructure.ExadataInfrastructure.BuilderstorageServerVersion(String storageServerVersion)The software version of the storage servers (cells) in the Exadata infrastructure.ExadataInfrastructure.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ExadataInfrastructure.BuildertimeCreated(Date timeCreated)The date and time the Exadata infrastructure was created.ExadataInfrastructure.BuildertimeZone(String timeZone)The time zone of the Exadata infrastructure.
-
-
-
Method Detail
-
id
public ExadataInfrastructure.Builder id(String id)
The OCID of the Exadata infrastructure.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ExadataInfrastructure.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public ExadataInfrastructure.Builder lifecycleState(ExadataInfrastructure.LifecycleState lifecycleState)
The current lifecycle state of the Exadata infrastructure.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
displayName
public ExadataInfrastructure.Builder displayName(String displayName)
The user-friendly name for the Exadata Cloud@Customer infrastructure.The name does not need to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
shape
public ExadataInfrastructure.Builder shape(String shape)
The shape of the Exadata infrastructure.The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
- Parameters:
shape- the value to set- Returns:
- this builder
-
timeZone
public ExadataInfrastructure.Builder timeZone(String timeZone)
The time zone of the Exadata infrastructure.For details, see Exadata Infrastructure Time Zones.
- Parameters:
timeZone- the value to set- Returns:
- this builder
-
cpusEnabled
public ExadataInfrastructure.Builder cpusEnabled(Integer cpusEnabled)
The number of enabled CPU cores.- Parameters:
cpusEnabled- the value to set- Returns:
- this builder
-
maxCpuCount
public ExadataInfrastructure.Builder maxCpuCount(Integer maxCpuCount)
The total number of CPU cores available.- Parameters:
maxCpuCount- the value to set- Returns:
- this builder
-
memorySizeInGBs
public ExadataInfrastructure.Builder memorySizeInGBs(Integer memorySizeInGBs)
The memory allocated in GBs.- Parameters:
memorySizeInGBs- the value to set- Returns:
- this builder
-
maxMemoryInGBs
public ExadataInfrastructure.Builder maxMemoryInGBs(Integer maxMemoryInGBs)
The total memory available in GBs.- Parameters:
maxMemoryInGBs- the value to set- Returns:
- this builder
-
dbNodeStorageSizeInGBs
public ExadataInfrastructure.Builder dbNodeStorageSizeInGBs(Integer dbNodeStorageSizeInGBs)
The local node storage allocated in GBs.- Parameters:
dbNodeStorageSizeInGBs- the value to set- Returns:
- this builder
-
maxDbNodeStorageInGBs
public ExadataInfrastructure.Builder maxDbNodeStorageInGBs(Integer maxDbNodeStorageInGBs)
The total local node storage available in GBs.- Parameters:
maxDbNodeStorageInGBs- the value to set- Returns:
- this builder
-
dataStorageSizeInTBs
public ExadataInfrastructure.Builder dataStorageSizeInTBs(Double dataStorageSizeInTBs)
Size, in terabytes, of the DATA disk group.- Parameters:
dataStorageSizeInTBs- the value to set- Returns:
- this builder
-
maxDataStorageInTBs
public ExadataInfrastructure.Builder maxDataStorageInTBs(Double maxDataStorageInTBs)
The total available DATA disk group size.- Parameters:
maxDataStorageInTBs- the value to set- Returns:
- this builder
-
rackSerialNumber
public ExadataInfrastructure.Builder rackSerialNumber(String rackSerialNumber)
The serial number for the Exadata infrastructure.- Parameters:
rackSerialNumber- the value to set- Returns:
- this builder
-
storageCount
public ExadataInfrastructure.Builder storageCount(Integer storageCount)
The number of Exadata storage servers for the Exadata infrastructure.- Parameters:
storageCount- the value to set- Returns:
- this builder
-
additionalStorageCount
public ExadataInfrastructure.Builder additionalStorageCount(Integer additionalStorageCount)
The requested number of additional storage servers for the Exadata infrastructure.- Parameters:
additionalStorageCount- the value to set- Returns:
- this builder
-
activatedStorageCount
public ExadataInfrastructure.Builder activatedStorageCount(Integer activatedStorageCount)
The requested number of additional storage servers activated for the Exadata infrastructure.- Parameters:
activatedStorageCount- the value to set- Returns:
- this builder
-
computeCount
public ExadataInfrastructure.Builder computeCount(Integer computeCount)
The number of compute servers for the Exadata infrastructure.- Parameters:
computeCount- the value to set- Returns:
- this builder
-
isMultiRackDeployment
public ExadataInfrastructure.Builder isMultiRackDeployment(Boolean isMultiRackDeployment)
Indicates if deployment is Multi-Rack or not.- Parameters:
isMultiRackDeployment- the value to set- Returns:
- this builder
-
multiRackConfigurationFile
public ExadataInfrastructure.Builder multiRackConfigurationFile(byte[] multiRackConfigurationFile)
The base64 encoded Multi-Rack configuration json file.- Parameters:
multiRackConfigurationFile- the value to set- Returns:
- this builder
-
additionalComputeCount
public ExadataInfrastructure.Builder additionalComputeCount(Integer additionalComputeCount)
The requested number of additional compute servers for the Exadata infrastructure.- Parameters:
additionalComputeCount- the value to set- Returns:
- this builder
-
additionalComputeSystemModel
public ExadataInfrastructure.Builder additionalComputeSystemModel(ExadataInfrastructure.AdditionalComputeSystemModel additionalComputeSystemModel)
Oracle Exadata System Model specification.The system model determines the amount of compute or storage server resources available for use. For more information, please see [System and Shape Configuration Options] (https://docs.oracle.com/en/engineered-systems/exadata-cloud-at-customer/ecccm/ecc-system-config-options.html#GUID-9E090174-5C57-4EB1-9243-B470F9F10D6B)
- Parameters:
additionalComputeSystemModel- the value to set- Returns:
- this builder
-
cloudControlPlaneServer1
public ExadataInfrastructure.Builder cloudControlPlaneServer1(String cloudControlPlaneServer1)
The IP address for the first control plane server.- Parameters:
cloudControlPlaneServer1- the value to set- Returns:
- this builder
-
cloudControlPlaneServer2
public ExadataInfrastructure.Builder cloudControlPlaneServer2(String cloudControlPlaneServer2)
The IP address for the second control plane server.- Parameters:
cloudControlPlaneServer2- the value to set- Returns:
- this builder
-
netmask
public ExadataInfrastructure.Builder netmask(String netmask)
The netmask for the control plane network.- Parameters:
netmask- the value to set- Returns:
- this builder
-
gateway
public ExadataInfrastructure.Builder gateway(String gateway)
The gateway for the control plane network.- Parameters:
gateway- the value to set- Returns:
- this builder
-
adminNetworkCIDR
public ExadataInfrastructure.Builder adminNetworkCIDR(String adminNetworkCIDR)
The CIDR block for the Exadata administration network.- Parameters:
adminNetworkCIDR- the value to set- Returns:
- this builder
-
infiniBandNetworkCIDR
public ExadataInfrastructure.Builder infiniBandNetworkCIDR(String infiniBandNetworkCIDR)
The CIDR block for the Exadata InfiniBand interconnect.- Parameters:
infiniBandNetworkCIDR- the value to set- Returns:
- this builder
-
corporateProxy
public ExadataInfrastructure.Builder corporateProxy(String corporateProxy)
The corporate network proxy for access to the control plane network.- Parameters:
corporateProxy- the value to set- Returns:
- this builder
-
dnsServer
public ExadataInfrastructure.Builder dnsServer(List<String> dnsServer)
The list of DNS server IP addresses.Maximum of 3 allowed.
- Parameters:
dnsServer- the value to set- Returns:
- this builder
-
ntpServer
public ExadataInfrastructure.Builder ntpServer(List<String> ntpServer)
The list of NTP server IP addresses.Maximum of 3 allowed.
- Parameters:
ntpServer- the value to set- Returns:
- this builder
-
timeCreated
public ExadataInfrastructure.Builder timeCreated(Date timeCreated)
The date and time the Exadata infrastructure was created.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
lifecycleDetails
public ExadataInfrastructure.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
csiNumber
public ExadataInfrastructure.Builder csiNumber(String csiNumber)
The CSI Number of the Exadata infrastructure.- Parameters:
csiNumber- the value to set- Returns:
- this builder
-
contacts
public ExadataInfrastructure.Builder contacts(List<ExadataInfrastructureContact> contacts)
The list of contacts for the Exadata infrastructure.- Parameters:
contacts- the value to set- Returns:
- this builder
-
maintenanceSLOStatus
public ExadataInfrastructure.Builder maintenanceSLOStatus(ExadataInfrastructure.MaintenanceSLOStatus maintenanceSLOStatus)
A field to capture \u2018Maintenance SLO Status\u2019 for the Exadata infrastructure with values \u2018OK\u2019, \u2018DEGRADED\u2019.Default is \u2018OK\u2019 when the infrastructure is provisioned.
- Parameters:
maintenanceSLOStatus- the value to set- Returns:
- this builder
-
maintenanceWindow
public ExadataInfrastructure.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
-
storageServerVersion
public ExadataInfrastructure.Builder storageServerVersion(String storageServerVersion)
The software version of the storage servers (cells) in the Exadata infrastructure.- Parameters:
storageServerVersion- the value to set- Returns:
- this builder
-
dbServerVersion
public ExadataInfrastructure.Builder dbServerVersion(String dbServerVersion)
The software version of the database servers (dom0) in the Exadata infrastructure.- Parameters:
dbServerVersion- the value to set- Returns:
- this builder
-
monthlyDbServerVersion
public ExadataInfrastructure.Builder monthlyDbServerVersion(String monthlyDbServerVersion)
The monthly software version of the database servers (dom0) in the Exadata infrastructure.- Parameters:
monthlyDbServerVersion- the value to set- Returns:
- this builder
-
lastMaintenanceRunId
public ExadataInfrastructure.Builder lastMaintenanceRunId(String lastMaintenanceRunId)
The OCID of the last maintenance run.- Parameters:
lastMaintenanceRunId- the value to set- Returns:
- this builder
-
nextMaintenanceRunId
public ExadataInfrastructure.Builder nextMaintenanceRunId(String nextMaintenanceRunId)
The OCID of the next maintenance run.- Parameters:
nextMaintenanceRunId- the value to set- Returns:
- this builder
-
isCpsOfflineReportEnabled
public ExadataInfrastructure.Builder isCpsOfflineReportEnabled(Boolean isCpsOfflineReportEnabled)
Indicates whether cps offline diagnostic report is enabled for this Exadata infrastructure.This will allow a customer to quickly check status themselves and fix problems on their end, saving time and frustration for both Oracle and the customer when they find the CPS in a disconnected state.You can enable offline diagnostic report during Exadata infrastructure provisioning. You can also disable or enable it at any time using the UpdateExadatainfrastructure API.
- Parameters:
isCpsOfflineReportEnabled- the value to set- Returns:
- this builder
-
networkBondingModeDetails
public ExadataInfrastructure.Builder networkBondingModeDetails(NetworkBondingModeDetails networkBondingModeDetails)
-
availabilityDomain
public ExadataInfrastructure.Builder availabilityDomain(String availabilityDomain)
The name of the availability domain that the Exadata infrastructure is located in.- Parameters:
availabilityDomain- the value to set- Returns:
- this builder
-
definedFileSystemConfigurations
public ExadataInfrastructure.Builder definedFileSystemConfigurations(List<DefinedFileSystemConfiguration> definedFileSystemConfigurations)
Details of the file system configuration of the Exadata infrastructure.- Parameters:
definedFileSystemConfigurations- the value to set- Returns:
- this builder
-
freeformTags
public ExadataInfrastructure.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ExadataInfrastructure.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ExadataInfrastructure.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
isSchedulingPolicyAssociated
public ExadataInfrastructure.Builder isSchedulingPolicyAssociated(Boolean isSchedulingPolicyAssociated)
If true, the infrastructure is using granular maintenance scheduling preference.- Parameters:
isSchedulingPolicyAssociated- the value to set- Returns:
- this builder
-
exascaleConfig
public ExadataInfrastructure.Builder exascaleConfig(ExascaleConfigDetails exascaleConfig)
-
databaseServerType
public ExadataInfrastructure.Builder databaseServerType(String databaseServerType)
The database server type of the Exadata infrastructure.- Parameters:
databaseServerType- the value to set- Returns:
- this builder
-
storageServerType
public ExadataInfrastructure.Builder storageServerType(String storageServerType)
The storage server type of the Exadata infrastructure.- Parameters:
storageServerType- the value to set- Returns:
- this builder
-
computeModel
public ExadataInfrastructure.Builder computeModel(ExadataInfrastructure.ComputeModel computeModel)
The compute model of the Autonomous Database.This is required if using the computeCount parameter. If using cpuCoreCount then it is an error to specify computeModel to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy.
- Parameters:
computeModel- the value to set- Returns:
- this builder
-
build
public ExadataInfrastructure build()
-
copy
public ExadataInfrastructure.Builder copy(ExadataInfrastructure model)
-
-