Class Infrastructure
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datacc.model.Infrastructure
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20251101") public final class Infrastructure extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelDetails about Database Infrastructure resource.
Note: Objects should always be created or deserialized using theInfrastructure.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theInfrastructure.Builder, which maintain a set of all explicitly set fields calledInfrastructure.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInfrastructure.Builder
-
Constructor Summary
Constructors Constructor Description Infrastructure(String id, String description, String compartmentId, String displayName, SystemModelEnum systemModel, String version, ShapeEnum shape, String cloudControlPlaneServer1, String cloudControlPlaneServer2, String netmask, String gateway, String adminNetworkcidr, Integer dataDiskPercentage, Integer recoDiskPercentage, List<InfrastructureContact> contacts, List<String> dnsServers, List<String> ntpServers, NetworkBondingMode clientNetworkBondingMode, NetworkBondingMode backupNetworkBondingMode, NetworkBondingMode cpsNetworkBondingMode, NetworkBondingInterfaceEnum clientNetworkBondingInterface, NetworkBondingInterfaceEnum backupNetworkBondingInterface, NetworkBondingInterfaceEnum cpsNetworkBondingInterface, Double acfsFileSystemStorageInGbs, Double acfsFileSystemUsedStorageInGbs, String corporateProxy, String vlanId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, MaintenanceWindow maintenanceWindow, Date timeCreated, Date timeUpdated, Date timeLastStateUpdated, Date timeActivated, Date timeValidated, InfrastructureLifecycleState lifecycleState, String lifecycleStateDetails, String rackSerialNumber, List<InfrastructureServer> servers, ComputeCapacityDetails computeCapacity, List<StorageCapacityDetails> storageCapacity, SystemStorageCapacityDetails systemStorageCapacity, String networkAdapterConfiguration, String subscriptionPlanNumber, ShapeEnum ssdConfigurationRequested)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Infrastructure.Builderbuilder()Create a new builder.booleanequals(Object o)DoublegetAcfsFileSystemStorageInGbs()The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.DoublegetAcfsFileSystemUsedStorageInGbs()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.StringgetAdminNetworkcidr()The CIDR block for the system network.NetworkBondingInterfaceEnumgetBackupNetworkBondingInterface()The network bonding interface for backup network for the Database Infrastructure.NetworkBondingModegetBackupNetworkBondingMode()The network bonding mode for Backup networks for the Database Infrastructure.NetworkBondingInterfaceEnumgetClientNetworkBondingInterface()The network bonding interface for client network for the Database Infrastructure.NetworkBondingModegetClientNetworkBondingMode()The network bonding mode for Client networks for the Database Infrastructure.StringgetCloudControlPlaneServer1()The IP address for the first control plane server.StringgetCloudControlPlaneServer2()The IP address for the second control plane server.StringgetCompartmentId()The OCID of the compartment.ComputeCapacityDetailsgetComputeCapacity()List<InfrastructureContact>getContacts()The list of contacts for the Database Infrastructure.StringgetCorporateProxy()The corporate network proxy for access to the control plane network.NetworkBondingInterfaceEnumgetCpsNetworkBondingInterface()The network bonding interface for CPS network for the Database Infrastructure.NetworkBondingModegetCpsNetworkBondingMode()The network bonding mode for CPS networks for the Database Infrastructure.IntegergetDataDiskPercentage()Percentage of disk space assigned for DATA disk group.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()Database Infrastructure description.StringgetDisplayName()The user-friendly name for the Database Infrastructure.List<String>getDnsServers()The list of DNS server IP addresses.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetGateway()The gateway for the control plane network.StringgetId()The OCID of the Database Infrastructure.InfrastructureLifecycleStategetLifecycleState()The current state of the Database Infrastructure.StringgetLifecycleStateDetails()Lifecycle state details of the Database Infrastructure.MaintenanceWindowgetMaintenanceWindow()StringgetNetmask()The netmask for the control plane network.StringgetNetworkAdapterConfiguration()The network adapter, transceiver and cable configuration for the client and backup networks.List<String>getNtpServers()The list of NTP server IP addresses.StringgetRackSerialNumber()The serial number for the Database Infrastructure.IntegergetRecoDiskPercentage()Percentage of disk space assigned for RECO disk group.List<InfrastructureServer>getServers()A list of Database Infrastructure nodes.ShapeEnumgetShape()The shape of the Database Infrastructure.ShapeEnumgetSsdConfigurationRequested()SSD configuration requested for the infrastructure.List<StorageCapacityDetails>getStorageCapacity()Capacity details of the Storage disk group.StringgetSubscriptionPlanNumber()The unique identifier for the subscription plan number.SystemModelEnumgetSystemModel()Database Infrastructure System Model specification.SystemStorageCapacityDetailsgetSystemStorageCapacity()Map<String,Map<String,Object>>getSystemTags()Usage of system tag keys.DategetTimeActivated()The time, in RFC3339 format, when the Database Infrastructure was activated.DategetTimeCreated()The time that the Database Infrastructure cluster was created.DategetTimeLastStateUpdated()The time, in RFC3339 format, when the lifecycle state was last updated.DategetTimeUpdated()The time that the Database Infrastructure was last updated.DategetTimeValidated()The time, in RFC3339 format, when the Database Infrastructure network was validated.StringgetVersion()The version of the system software on the Database Infrastructure.StringgetVlanId()The CPS network VLAN ID.inthashCode()Infrastructure.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
Infrastructure
@Deprecated @ConstructorProperties({"id","description","compartmentId","displayName","systemModel","version","shape","cloudControlPlaneServer1","cloudControlPlaneServer2","netmask","gateway","adminNetworkcidr","dataDiskPercentage","recoDiskPercentage","contacts","dnsServers","ntpServers","clientNetworkBondingMode","backupNetworkBondingMode","cpsNetworkBondingMode","clientNetworkBondingInterface","backupNetworkBondingInterface","cpsNetworkBondingInterface","acfsFileSystemStorageInGbs","acfsFileSystemUsedStorageInGbs","corporateProxy","vlanId","freeformTags","definedTags","systemTags","maintenanceWindow","timeCreated","timeUpdated","timeLastStateUpdated","timeActivated","timeValidated","lifecycleState","lifecycleStateDetails","rackSerialNumber","servers","computeCapacity","storageCapacity","systemStorageCapacity","networkAdapterConfiguration","subscriptionPlanNumber","ssdConfigurationRequested"}) public Infrastructure(String id, String description, String compartmentId, String displayName, SystemModelEnum systemModel, String version, ShapeEnum shape, String cloudControlPlaneServer1, String cloudControlPlaneServer2, String netmask, String gateway, String adminNetworkcidr, Integer dataDiskPercentage, Integer recoDiskPercentage, List<InfrastructureContact> contacts, List<String> dnsServers, List<String> ntpServers, NetworkBondingMode clientNetworkBondingMode, NetworkBondingMode backupNetworkBondingMode, NetworkBondingMode cpsNetworkBondingMode, NetworkBondingInterfaceEnum clientNetworkBondingInterface, NetworkBondingInterfaceEnum backupNetworkBondingInterface, NetworkBondingInterfaceEnum cpsNetworkBondingInterface, Double acfsFileSystemStorageInGbs, Double acfsFileSystemUsedStorageInGbs, String corporateProxy, String vlanId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, MaintenanceWindow maintenanceWindow, Date timeCreated, Date timeUpdated, Date timeLastStateUpdated, Date timeActivated, Date timeValidated, InfrastructureLifecycleState lifecycleState, String lifecycleStateDetails, String rackSerialNumber, List<InfrastructureServer> servers, ComputeCapacityDetails computeCapacity, List<StorageCapacityDetails> storageCapacity, SystemStorageCapacityDetails systemStorageCapacity, String networkAdapterConfiguration, String subscriptionPlanNumber, ShapeEnum ssdConfigurationRequested)
Deprecated.
-
-
Method Detail
-
builder
public static Infrastructure.Builder builder()
Create a new builder.
-
toBuilder
public Infrastructure.Builder toBuilder()
-
getDescription
public String getDescription()
Database Infrastructure description.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The user-friendly name for the Database Infrastructure.The name does not need to be unique.
- Returns:
- the value
-
getSystemModel
public SystemModelEnum getSystemModel()
Database Infrastructure System Model specification.The system model determines the model of the Database Infrastructure hardware to be used.
- Returns:
- the value
-
getVersion
public String getVersion()
The version of the system software on the Database Infrastructure.- Returns:
- the value
-
getShape
public ShapeEnum getShape()
The shape of the Database Infrastructure.The shape determines the amount of CPU, storage, and memory resources allocated to the instance.
- Returns:
- the value
-
getCloudControlPlaneServer1
public String getCloudControlPlaneServer1()
The IP address for the first control plane server.- Returns:
- the value
-
getCloudControlPlaneServer2
public String getCloudControlPlaneServer2()
The IP address for the second control plane server.- Returns:
- the value
-
getNetmask
public String getNetmask()
The netmask for the control plane network.- Returns:
- the value
-
getGateway
public String getGateway()
The gateway for the control plane network.- Returns:
- the value
-
getAdminNetworkcidr
public String getAdminNetworkcidr()
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.
- Returns:
- the value
-
getDataDiskPercentage
public Integer getDataDiskPercentage()
Percentage of disk space assigned for DATA disk group.- Returns:
- the value
-
getRecoDiskPercentage
public Integer getRecoDiskPercentage()
Percentage of disk space assigned for RECO disk group.- Returns:
- the value
-
getContacts
public List<InfrastructureContact> getContacts()
The list of contacts for the Database Infrastructure.- Returns:
- the value
-
getDnsServers
public List<String> getDnsServers()
The list of DNS server IP addresses.Maximum of 3 allowed.
- Returns:
- the value
-
getNtpServers
public List<String> getNtpServers()
The list of NTP server IP addresses.Maximum of 3 allowed.
- Returns:
- the value
-
getClientNetworkBondingMode
public NetworkBondingMode getClientNetworkBondingMode()
The network bonding mode for Client networks for the Database Infrastructure.- Returns:
- the value
-
getBackupNetworkBondingMode
public NetworkBondingMode getBackupNetworkBondingMode()
The network bonding mode for Backup networks for the Database Infrastructure.- Returns:
- the value
-
getCpsNetworkBondingMode
public NetworkBondingMode getCpsNetworkBondingMode()
The network bonding mode for CPS networks for the Database Infrastructure.- Returns:
- the value
-
getClientNetworkBondingInterface
public NetworkBondingInterfaceEnum getClientNetworkBondingInterface()
The network bonding interface for client network for the Database Infrastructure.- Returns:
- the value
-
getBackupNetworkBondingInterface
public NetworkBondingInterfaceEnum getBackupNetworkBondingInterface()
The network bonding interface for backup network for the Database Infrastructure.- Returns:
- the value
-
getCpsNetworkBondingInterface
public NetworkBondingInterfaceEnum getCpsNetworkBondingInterface()
The network bonding interface for CPS network for the Database Infrastructure.- Returns:
- the value
-
getAcfsFileSystemStorageInGbs
public Double getAcfsFileSystemStorageInGbs()
The amount of storage (in GB) in the DATA disk group that is reserved for creating local storage for VM Clusters and application VMs.- Returns:
- the value
-
getAcfsFileSystemUsedStorageInGbs
public Double getAcfsFileSystemUsedStorageInGbs()
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.
- Returns:
- the value
-
getCorporateProxy
public String getCorporateProxy()
The corporate network proxy for access to the control plane network.Oracle recommends using an HTTPS proxy when possible for enhanced security.
- Returns:
- the value
-
getVlanId
public String getVlanId()
The CPS network VLAN ID.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
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”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Returns:
- the value
-
getMaintenanceWindow
public MaintenanceWindow getMaintenanceWindow()
-
getTimeCreated
public Date getTimeCreated()
The time that the Database Infrastructure cluster was created.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
The time that the Database Infrastructure was last updated.An RFC3339 formatted datetime string.
- Returns:
- the value
-
getTimeLastStateUpdated
public Date getTimeLastStateUpdated()
The time, in RFC3339 format, when the lifecycle state was last updated.- Returns:
- the value
-
getTimeActivated
public Date getTimeActivated()
The time, in RFC3339 format, when the Database Infrastructure was activated.- Returns:
- the value
-
getTimeValidated
public Date getTimeValidated()
The time, in RFC3339 format, when the Database Infrastructure network was validated.- Returns:
- the value
-
getLifecycleState
public InfrastructureLifecycleState getLifecycleState()
The current state of the Database Infrastructure.- Returns:
- the value
-
getLifecycleStateDetails
public String getLifecycleStateDetails()
Lifecycle state details of the Database Infrastructure.- Returns:
- the value
-
getRackSerialNumber
public String getRackSerialNumber()
The serial number for the Database Infrastructure.- Returns:
- the value
-
getServers
public List<InfrastructureServer> getServers()
A list of Database Infrastructure nodes.- Returns:
- the value
-
getComputeCapacity
public ComputeCapacityDetails getComputeCapacity()
-
getStorageCapacity
public List<StorageCapacityDetails> getStorageCapacity()
Capacity details of the Storage disk group.This attribute is deprecated and will be removed in a subsequent release. Please use systemStorageCapacity instead.
- Returns:
- the value
-
getSystemStorageCapacity
public SystemStorageCapacityDetails getSystemStorageCapacity()
-
getNetworkAdapterConfiguration
public String getNetworkAdapterConfiguration()
The network adapter, transceiver and cable configuration for the client and backup networks.- Returns:
- the value
-
getSubscriptionPlanNumber
public String getSubscriptionPlanNumber()
The unique identifier for the subscription plan number.- Returns:
- the value
-
getSsdConfigurationRequested
public ShapeEnum getSsdConfigurationRequested()
SSD configuration requested for the infrastructure.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-