Class Infrastructure.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.model.Infrastructure.Builder
-
- Enclosing class:
- Infrastructure
public static class Infrastructure.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Infrastructure.BuilderacfsFileSystemStorageInGbs(Double acfsFileSystemStorageInGbs)The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.Infrastructure.BuilderacfsFileSystemUsedStorageInGbs(Double acfsFileSystemUsedStorageInGbs)The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs.Infrastructure.BuilderadminNetworkcidr(String adminNetworkcidr)The CIDR block for the system network.Infrastructure.BuilderbackupNetworkBondingInterface(NetworkBondingInterfaceEnum backupNetworkBondingInterface)The network bonding interface for backup network for the Database Infrastructure.Infrastructure.BuilderbackupNetworkBondingMode(NetworkBondingMode backupNetworkBondingMode)The network bonding mode for Backup networks for the Database Infrastructure.Infrastructurebuild()Infrastructure.BuilderclientNetworkBondingInterface(NetworkBondingInterfaceEnum clientNetworkBondingInterface)The network bonding interface for client network for the Database Infrastructure.Infrastructure.BuilderclientNetworkBondingMode(NetworkBondingMode clientNetworkBondingMode)The network bonding mode for Client networks for the Database Infrastructure.Infrastructure.BuildercloudControlPlaneServer1(String cloudControlPlaneServer1)The IP address for the first control plane server.Infrastructure.BuildercloudControlPlaneServer2(String cloudControlPlaneServer2)The IP address for the second control plane server.Infrastructure.BuildercompartmentId(String compartmentId)The OCID of the compartment.Infrastructure.BuildercomputeCapacity(ComputeCapacityDetails computeCapacity)Infrastructure.Buildercontacts(List<InfrastructureContact> contacts)The list of contacts for the Database Infrastructure.Infrastructure.Buildercopy(Infrastructure model)Infrastructure.BuildercorporateProxy(String corporateProxy)The corporate network proxy for access to the control plane network.Infrastructure.BuildercpsNetworkBondingInterface(NetworkBondingInterfaceEnum cpsNetworkBondingInterface)The network bonding interface for CPS network for the Database Infrastructure.Infrastructure.BuildercpsNetworkBondingMode(NetworkBondingMode cpsNetworkBondingMode)The network bonding mode for CPS networks for the Database Infrastructure.Infrastructure.BuilderdataDiskPercentage(Integer dataDiskPercentage)Percentage of disk space assigned for DATA disk group.Infrastructure.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Infrastructure.Builderdescription(String description)Database Infrastructure description.Infrastructure.BuilderdisplayName(String displayName)The user-friendly name for the Database Infrastructure.Infrastructure.BuilderdnsServers(List<String> dnsServers)The list of DNS server IP addresses.Infrastructure.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.Infrastructure.Buildergateway(String gateway)The gateway for the control plane network.Infrastructure.Builderid(String id)The OCID of the Database Infrastructure.Infrastructure.BuilderlifecycleState(InfrastructureLifecycleState lifecycleState)The current state of the Database Infrastructure.Infrastructure.BuilderlifecycleStateDetails(String lifecycleStateDetails)Lifecycle state details of the Database Infrastructure.Infrastructure.BuildermaintenanceWindow(MaintenanceWindow maintenanceWindow)Infrastructure.Buildernetmask(String netmask)The netmask for the control plane network.Infrastructure.BuildernetworkAdapterConfiguration(String networkAdapterConfiguration)The network adapter, transceiver and cable configuration for the client and backup networks.Infrastructure.BuilderntpServers(List<String> ntpServers)The list of NTP server IP addresses.Infrastructure.BuilderrackSerialNumber(String rackSerialNumber)The serial number for the Database Infrastructure.Infrastructure.BuilderrecoDiskPercentage(Integer recoDiskPercentage)Percentage of disk space assigned for RECO disk group.Infrastructure.Builderservers(List<InfrastructureServer> servers)A list of Database Infrastructure nodes.Infrastructure.Buildershape(ShapeEnum shape)The shape of the Database Infrastructure.Infrastructure.BuilderssdConfigurationRequested(ShapeEnum ssdConfigurationRequested)SSD configuration requested for the infrastructure.Infrastructure.BuilderstorageCapacity(List<StorageCapacityDetails> storageCapacity)Capacity details of the Storage disk group.Infrastructure.BuildersubscriptionPlanNumber(String subscriptionPlanNumber)The unique identifier for the subscription plan number.Infrastructure.BuildersystemModel(SystemModelEnum systemModel)Database Infrastructure System Model specification.Infrastructure.BuildersystemStorageCapacity(SystemStorageCapacityDetails systemStorageCapacity)Infrastructure.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.Infrastructure.BuildertimeActivated(Date timeActivated)The time, in RFC3339 format, when the Database Infrastructure was activated.Infrastructure.BuildertimeCreated(Date timeCreated)The time that the Database Infrastructure cluster was created.Infrastructure.BuildertimeLastStateUpdated(Date timeLastStateUpdated)The time, in RFC3339 format, when the lifecycle state was last updated.Infrastructure.BuildertimeUpdated(Date timeUpdated)The time that the Database Infrastructure was last updated.Infrastructure.BuildertimeValidated(Date timeValidated)The time, in RFC3339 format, when the Database Infrastructure network was validated.Infrastructure.Builderversion(String version)The version of the system software on the Database Infrastructure.Infrastructure.BuildervlanId(String vlanId)The CPS network VLAN ID.
-
-
-
Method Detail
-
id
public Infrastructure.Builder id(String id)
The OCID of the Database Infrastructure.- Parameters:
id- the value to set- Returns:
- this builder
-
description
public Infrastructure.Builder description(String description)
Database Infrastructure description.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public Infrastructure.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public Infrastructure.Builder displayName(String displayName)
The user-friendly name for the Database Infrastructure.The name does not need to be unique.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
systemModel
public Infrastructure.Builder systemModel(SystemModelEnum systemModel)
Database Infrastructure System Model specification.The system model determines the model of the Database Infrastructure hardware to be used.
- Parameters:
systemModel- the value to set- Returns:
- this builder
-
version
public Infrastructure.Builder version(String version)
The version of the system software on the Database Infrastructure.- Parameters:
version- the value to set- Returns:
- this builder
-
shape
public Infrastructure.Builder shape(ShapeEnum shape)
The shape of the Database 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
-
cloudControlPlaneServer1
public Infrastructure.Builder cloudControlPlaneServer1(String cloudControlPlaneServer1)
The IP address for the first control plane server.- Parameters:
cloudControlPlaneServer1- the value to set- Returns:
- this builder
-
cloudControlPlaneServer2
public Infrastructure.Builder cloudControlPlaneServer2(String cloudControlPlaneServer2)
The IP address for the second control plane server.- Parameters:
cloudControlPlaneServer2- the value to set- Returns:
- this builder
-
netmask
public Infrastructure.Builder netmask(String netmask)
The netmask for the control plane network.- Parameters:
netmask- the value to set- Returns:
- this builder
-
gateway
public Infrastructure.Builder gateway(String gateway)
The gateway for the control plane network.- Parameters:
gateway- the value to set- Returns:
- this builder
-
adminNetworkcidr
public Infrastructure.Builder adminNetworkcidr(String adminNetworkcidr)
The CIDR block for the system network.The system network is a private network in Database Infrastructure and is not connected to your corporate network. The system network is used for storage (ASM) traffic, high-performance interconnect traffic and administration of infrastructure components.
- Parameters:
adminNetworkcidr- the value to set- Returns:
- this builder
-
dataDiskPercentage
public Infrastructure.Builder dataDiskPercentage(Integer dataDiskPercentage)
Percentage of disk space assigned for DATA disk group.- Parameters:
dataDiskPercentage- the value to set- Returns:
- this builder
-
recoDiskPercentage
public Infrastructure.Builder recoDiskPercentage(Integer recoDiskPercentage)
Percentage of disk space assigned for RECO disk group.- Parameters:
recoDiskPercentage- the value to set- Returns:
- this builder
-
contacts
public Infrastructure.Builder contacts(List<InfrastructureContact> contacts)
The list of contacts for the Database Infrastructure.- Parameters:
contacts- the value to set- Returns:
- this builder
-
dnsServers
public Infrastructure.Builder dnsServers(List<String> dnsServers)
The list of DNS server IP addresses.Maximum of 3 allowed.
- Parameters:
dnsServers- the value to set- Returns:
- this builder
-
ntpServers
public Infrastructure.Builder ntpServers(List<String> ntpServers)
The list of NTP server IP addresses.Maximum of 3 allowed.
- Parameters:
ntpServers- the value to set- Returns:
- this builder
-
clientNetworkBondingMode
public Infrastructure.Builder clientNetworkBondingMode(NetworkBondingMode clientNetworkBondingMode)
The network bonding mode for Client networks for the Database Infrastructure.- Parameters:
clientNetworkBondingMode- the value to set- Returns:
- this builder
-
backupNetworkBondingMode
public Infrastructure.Builder backupNetworkBondingMode(NetworkBondingMode backupNetworkBondingMode)
The network bonding mode for Backup networks for the Database Infrastructure.- Parameters:
backupNetworkBondingMode- the value to set- Returns:
- this builder
-
cpsNetworkBondingMode
public Infrastructure.Builder cpsNetworkBondingMode(NetworkBondingMode cpsNetworkBondingMode)
The network bonding mode for CPS networks for the Database Infrastructure.- Parameters:
cpsNetworkBondingMode- the value to set- Returns:
- this builder
-
clientNetworkBondingInterface
public Infrastructure.Builder clientNetworkBondingInterface(NetworkBondingInterfaceEnum clientNetworkBondingInterface)
The network bonding interface for client network for the Database Infrastructure.- Parameters:
clientNetworkBondingInterface- the value to set- Returns:
- this builder
-
backupNetworkBondingInterface
public Infrastructure.Builder backupNetworkBondingInterface(NetworkBondingInterfaceEnum backupNetworkBondingInterface)
The network bonding interface for backup network for the Database Infrastructure.- Parameters:
backupNetworkBondingInterface- the value to set- Returns:
- this builder
-
cpsNetworkBondingInterface
public Infrastructure.Builder cpsNetworkBondingInterface(NetworkBondingInterfaceEnum cpsNetworkBondingInterface)
The network bonding interface for CPS network for the Database Infrastructure.- Parameters:
cpsNetworkBondingInterface- the value to set- Returns:
- this builder
-
acfsFileSystemStorageInGbs
public Infrastructure.Builder acfsFileSystemStorageInGbs(Double acfsFileSystemStorageInGbs)
The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.- Parameters:
acfsFileSystemStorageInGbs- the value to set- Returns:
- this builder
-
acfsFileSystemUsedStorageInGbs
public Infrastructure.Builder acfsFileSystemUsedStorageInGbs(Double acfsFileSystemUsedStorageInGbs)
The amount of storage (in GB) in the DATA disk group that is currently utilized for creating local storage for VM Clusters and application VMs.This attribute is deprecated and will be removed in a subsequent release. Please read from systemStorageCapacity instead.
- Parameters:
acfsFileSystemUsedStorageInGbs- the value to set- Returns:
- this builder
-
corporateProxy
public Infrastructure.Builder corporateProxy(String corporateProxy)
The corporate network proxy for access to the control plane network.Oracle recommends using an HTTPS proxy when possible for enhanced security.
- Parameters:
corporateProxy- the value to set- Returns:
- this builder
-
vlanId
public Infrastructure.Builder vlanId(String vlanId)
The CPS network VLAN ID.- Parameters:
vlanId- the value to set- Returns:
- this builder
-
freeformTags
public Infrastructure.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.This tag option exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public Infrastructure.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public Infrastructure.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
maintenanceWindow
public Infrastructure.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
-
timeCreated
public Infrastructure.Builder timeCreated(Date timeCreated)
The time that the Database Infrastructure cluster was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public Infrastructure.Builder timeUpdated(Date timeUpdated)
The time that the Database Infrastructure was last updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeLastStateUpdated
public Infrastructure.Builder timeLastStateUpdated(Date timeLastStateUpdated)
The time, in RFC3339 format, when the lifecycle state was last updated.- Parameters:
timeLastStateUpdated- the value to set- Returns:
- this builder
-
timeActivated
public Infrastructure.Builder timeActivated(Date timeActivated)
The time, in RFC3339 format, when the Database Infrastructure was activated.- Parameters:
timeActivated- the value to set- Returns:
- this builder
-
timeValidated
public Infrastructure.Builder timeValidated(Date timeValidated)
The time, in RFC3339 format, when the Database Infrastructure network was validated.- Parameters:
timeValidated- the value to set- Returns:
- this builder
-
lifecycleState
public Infrastructure.Builder lifecycleState(InfrastructureLifecycleState lifecycleState)
The current state of the Database Infrastructure.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public Infrastructure.Builder lifecycleStateDetails(String lifecycleStateDetails)
Lifecycle state details of the Database Infrastructure.- Parameters:
lifecycleStateDetails- the value to set- Returns:
- this builder
-
rackSerialNumber
public Infrastructure.Builder rackSerialNumber(String rackSerialNumber)
The serial number for the Database Infrastructure.- Parameters:
rackSerialNumber- the value to set- Returns:
- this builder
-
servers
public Infrastructure.Builder servers(List<InfrastructureServer> servers)
A list of Database Infrastructure nodes.- Parameters:
servers- the value to set- Returns:
- this builder
-
computeCapacity
public Infrastructure.Builder computeCapacity(ComputeCapacityDetails computeCapacity)
-
storageCapacity
public Infrastructure.Builder storageCapacity(List<StorageCapacityDetails> storageCapacity)
Capacity details of the Storage disk group.This attribute is deprecated and will be removed in a subsequent release. Please use systemStorageCapacity instead.
- Parameters:
storageCapacity- the value to set- Returns:
- this builder
-
systemStorageCapacity
public Infrastructure.Builder systemStorageCapacity(SystemStorageCapacityDetails systemStorageCapacity)
-
networkAdapterConfiguration
public Infrastructure.Builder networkAdapterConfiguration(String networkAdapterConfiguration)
The network adapter, transceiver and cable configuration for the client and backup networks.- Parameters:
networkAdapterConfiguration- the value to set- Returns:
- this builder
-
subscriptionPlanNumber
public Infrastructure.Builder subscriptionPlanNumber(String subscriptionPlanNumber)
The unique identifier for the subscription plan number.- Parameters:
subscriptionPlanNumber- the value to set- Returns:
- this builder
-
ssdConfigurationRequested
public Infrastructure.Builder ssdConfigurationRequested(ShapeEnum ssdConfigurationRequested)
SSD configuration requested for the infrastructure.- Parameters:
ssdConfigurationRequested- the value to set- Returns:
- this builder
-
build
public Infrastructure build()
-
copy
public Infrastructure.Builder copy(Infrastructure model)
-
-