Class InfrastructureSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.model.InfrastructureSummary.Builder
-
- Enclosing class:
- InfrastructureSummary
public static class InfrastructureSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InfrastructureSummary.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.InfrastructureSummary.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.InfrastructureSummary.BuilderadminNetworkcidr(String adminNetworkcidr)The CIDR block for the system network.InfrastructureSummary.BuilderbackupNetworkBondingInterface(NetworkBondingInterfaceEnum backupNetworkBondingInterface)The network bonding interface for backup network for the Database Infrastructure.InfrastructureSummary.BuilderbackupNetworkBondingMode(NetworkBondingMode backupNetworkBondingMode)The network bonding mode for Backup networks for the Database Infrastructure.InfrastructureSummarybuild()InfrastructureSummary.BuilderclientNetworkBondingInterface(NetworkBondingInterfaceEnum clientNetworkBondingInterface)The network bonding interface for client network for the Database Infrastructure.InfrastructureSummary.BuilderclientNetworkBondingMode(NetworkBondingMode clientNetworkBondingMode)The network bonding mode for Client networks for the Database Infrastructure.InfrastructureSummary.BuildercloudControlPlaneServer1(String cloudControlPlaneServer1)The IP address for the first control plane server.InfrastructureSummary.BuildercloudControlPlaneServer2(String cloudControlPlaneServer2)The IP address for the second control plane server.InfrastructureSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment.InfrastructureSummary.BuildercomputeCapacity(ComputeCapacityDetails computeCapacity)InfrastructureSummary.Buildercontacts(List<InfrastructureContact> contacts)The list of contacts for the Database Infrastructure.InfrastructureSummary.Buildercopy(InfrastructureSummary model)InfrastructureSummary.BuildercorporateProxy(String corporateProxy)The corporate network proxy for access to the control plane network.InfrastructureSummary.BuildercpsNetworkBondingInterface(NetworkBondingInterfaceEnum cpsNetworkBondingInterface)The network bonding interface for CPS network for the Database Infrastructure.InfrastructureSummary.BuildercpsNetworkBondingMode(NetworkBondingMode cpsNetworkBondingMode)The network bonding mode for CPS networks for the Database Infrastructure.InfrastructureSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.InfrastructureSummary.Builderdescription(String description)Database Infrastructure description.InfrastructureSummary.BuilderdisplayName(String displayName)The user-friendly name for the Database Infrastructure.InfrastructureSummary.BuilderdnsServers(List<String> dnsServers)The list of DNS server IP addresses.InfrastructureSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.InfrastructureSummary.Buildergateway(String gateway)The gateway for the control plane network.InfrastructureSummary.Builderid(String id)The OCID of the Database Infrastructure.InfrastructureSummary.BuilderlifecycleState(InfrastructureLifecycleState lifecycleState)The current state of the Database Infrastructure.InfrastructureSummary.BuilderlifecycleStateDetails(String lifecycleStateDetails)Lifecycle state details of the Database Infrastructure.InfrastructureSummary.BuildermaintenanceWindow(MaintenanceWindow maintenanceWindow)InfrastructureSummary.Buildernetmask(String netmask)The netmask for the control plane network.InfrastructureSummary.BuilderntpServers(List<String> ntpServers)The list of NTP server IP addresses.InfrastructureSummary.Buildershape(ShapeEnum shape)The shape of the Database Infrastructure.InfrastructureSummary.BuilderssdConfigurationRequested(ShapeEnum ssdConfigurationRequested)SSD configuration requested for the infrastructure.InfrastructureSummary.BuilderstorageCapacity(List<StorageCapacityDetails> storageCapacity)Capacity details of the Storage disk group.InfrastructureSummary.BuildersubscriptionPlanNumber(String subscriptionPlanNumber)The unique identifier for the subscription plan number.InfrastructureSummary.BuildersystemModel(SystemModelEnum systemModel)Database Infrastructure System Model specification.InfrastructureSummary.BuildersystemStorageCapacity(SystemStorageCapacityDetails systemStorageCapacity)InfrastructureSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.InfrastructureSummary.BuildertimeActivated(Date timeActivated)The time, in RFC3339 format, when the Database Infrastructure was activated.InfrastructureSummary.BuildertimeCreated(Date timeCreated)The time that the Database Infrastructure cluster was created.InfrastructureSummary.BuildertimeLastStateUpdated(Date timeLastStateUpdated)The time, in RFC3339 format, when the lifecycle state was last updated.InfrastructureSummary.BuildertimeUpdated(Date timeUpdated)The time that the Database Infrastructure was last updated.InfrastructureSummary.BuildertimeValidated(Date timeValidated)The time, in RFC3339 format, when the Database Infrastructure network was validated.InfrastructureSummary.Builderversion(String version)The version of the system software on the Database Infrastructure.
-
-
-
Method Detail
-
id
public InfrastructureSummary.Builder id(String id)
The OCID of the Database Infrastructure.- Parameters:
id- the value to set- Returns:
- this builder
-
description
public InfrastructureSummary.Builder description(String description)
Database Infrastructure description.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public InfrastructureSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.Builder cloudControlPlaneServer1(String cloudControlPlaneServer1)
The IP address for the first control plane server.- Parameters:
cloudControlPlaneServer1- the value to set- Returns:
- this builder
-
cloudControlPlaneServer2
public InfrastructureSummary.Builder cloudControlPlaneServer2(String cloudControlPlaneServer2)
The IP address for the second control plane server.- Parameters:
cloudControlPlaneServer2- the value to set- Returns:
- this builder
-
netmask
public InfrastructureSummary.Builder netmask(String netmask)
The netmask for the control plane network.- Parameters:
netmask- the value to set- Returns:
- this builder
-
gateway
public InfrastructureSummary.Builder gateway(String gateway)
The gateway for the control plane network.- Parameters:
gateway- the value to set- Returns:
- this builder
-
adminNetworkcidr
public InfrastructureSummary.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
-
contacts
public InfrastructureSummary.Builder contacts(List<InfrastructureContact> contacts)
The list of contacts for the Database Infrastructure.- Parameters:
contacts- the value to set- Returns:
- this builder
-
dnsServers
public InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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
-
freeformTags
public InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.Builder maintenanceWindow(MaintenanceWindow maintenanceWindow)
-
timeCreated
public InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.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 InfrastructureSummary.Builder lifecycleState(InfrastructureLifecycleState lifecycleState)
The current state of the Database Infrastructure.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public InfrastructureSummary.Builder lifecycleStateDetails(String lifecycleStateDetails)
Lifecycle state details of the Database Infrastructure.- Parameters:
lifecycleStateDetails- the value to set- Returns:
- this builder
-
computeCapacity
public InfrastructureSummary.Builder computeCapacity(ComputeCapacityDetails computeCapacity)
-
storageCapacity
public InfrastructureSummary.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 InfrastructureSummary.Builder systemStorageCapacity(SystemStorageCapacityDetails systemStorageCapacity)
-
subscriptionPlanNumber
public InfrastructureSummary.Builder subscriptionPlanNumber(String subscriptionPlanNumber)
The unique identifier for the subscription plan number.- Parameters:
subscriptionPlanNumber- the value to set- Returns:
- this builder
-
ssdConfigurationRequested
public InfrastructureSummary.Builder ssdConfigurationRequested(ShapeEnum ssdConfigurationRequested)
SSD configuration requested for the infrastructure.- Parameters:
ssdConfigurationRequested- the value to set- Returns:
- this builder
-
build
public InfrastructureSummary build()
-
copy
public InfrastructureSummary.Builder copy(InfrastructureSummary model)
-
-