Package com.oracle.bmc.datacc.model
Class InfrastructureServer.Builder
- java.lang.Object
-
- com.oracle.bmc.datacc.model.InfrastructureServer.Builder
-
- Enclosing class:
- InfrastructureServer
public static class InfrastructureServer.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InfrastructureServer.BuilderbaseVmCount(Integer baseVmCount)Number of database virtual machines hosted on the server.InfrastructureServerbuild()InfrastructureServer.BuildercomputeCapacity(ComputeCapacityDetails computeCapacity)InfrastructureServer.Buildercopy(InfrastructureServer model)InfrastructureServer.Builderid(String id)The OCID of the Oracle Data Server of Infrastructure.InfrastructureServer.BuilderilomIpAddress(String ilomIpAddress)Database Infrastructure Server ILOM IP address.InfrastructureServer.BuilderilomName(String ilomName)Database Infrastructure Server ILOM name.InfrastructureServer.BuilderinstanceVmCount(Integer instanceVmCount)Number of instances hosted on the server.InfrastructureServer.BuilderlifecycleState(InfrastructureServerLifecycleState lifecycleState)The current state of the Database Infrastructure server.InfrastructureServer.BuilderserverIpAddress(String serverIpAddress)Database Infrastructure Server IP address.InfrastructureServer.BuilderserverName(String serverName)Database Infrastructure Server name.
-
-
-
Method Detail
-
id
public InfrastructureServer.Builder id(String id)
The OCID of the Oracle Data Server of Infrastructure.- Parameters:
id- the value to set- Returns:
- this builder
-
serverName
public InfrastructureServer.Builder serverName(String serverName)
Database Infrastructure Server name.- Parameters:
serverName- the value to set- Returns:
- this builder
-
serverIpAddress
public InfrastructureServer.Builder serverIpAddress(String serverIpAddress)
Database Infrastructure Server IP address.- Parameters:
serverIpAddress- the value to set- Returns:
- this builder
-
ilomName
public InfrastructureServer.Builder ilomName(String ilomName)
Database Infrastructure Server ILOM name.- Parameters:
ilomName- the value to set- Returns:
- this builder
-
ilomIpAddress
public InfrastructureServer.Builder ilomIpAddress(String ilomIpAddress)
Database Infrastructure Server ILOM IP address.- Parameters:
ilomIpAddress- the value to set- Returns:
- this builder
-
lifecycleState
public InfrastructureServer.Builder lifecycleState(InfrastructureServerLifecycleState lifecycleState)
The current state of the Database Infrastructure server.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
baseVmCount
public InfrastructureServer.Builder baseVmCount(Integer baseVmCount)
Number of database virtual machines hosted on the server.- Parameters:
baseVmCount- the value to set- Returns:
- this builder
-
instanceVmCount
public InfrastructureServer.Builder instanceVmCount(Integer instanceVmCount)
Number of instances hosted on the server.- Parameters:
instanceVmCount- the value to set- Returns:
- this builder
-
computeCapacity
public InfrastructureServer.Builder computeCapacity(ComputeCapacityDetails computeCapacity)
-
build
public InfrastructureServer build()
-
copy
public InfrastructureServer.Builder copy(InfrastructureServer model)
-
-