Package com.oracle.bmc.wlms.model
Class ManagedInstance.Builder
- java.lang.Object
-
- com.oracle.bmc.wlms.model.ManagedInstance.Builder
-
- Enclosing class:
- ManagedInstance
public static class ManagedInstance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedInstance
build()
ManagedInstance.Builder
compartmentId(String compartmentId)
The OCID of the compartment.ManagedInstance.Builder
configuration(ManagedInstanceConfiguration configuration)
ManagedInstance.Builder
copy(ManagedInstance model)
ManagedInstance.Builder
displayName(String displayName)
A user-friendly name that does not have to be unique and is changeable.ManagedInstance.Builder
hostName(String hostName)
The FQDN of the managed instance.ManagedInstance.Builder
id(String id)
The OCID of the managed instance.ManagedInstance.Builder
osArch(String osArch)
The operating system architecture on the managed instance.ManagedInstance.Builder
osName(String osName)
The operating system name on the managed instance.ManagedInstance.Builder
pluginStatus(String pluginStatus)
The plugin status of the managed instance.ManagedInstance.Builder
serverCount(Integer serverCount)
The number of servers running in the managed instance.ManagedInstance.Builder
timeCreated(Date timeCreated)
The date and time the managed instance was first reported (in RFC 3339 format).ManagedInstance.Builder
timeUpdated(Date timeUpdated)
The date and time the managed instance was last report (in RFC 3339 format).
-
-
-
Method Detail
-
id
public ManagedInstance.Builder id(String id)
The OCID of the managed instance.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public ManagedInstance.Builder displayName(String displayName)
A user-friendly name that does not have to be unique and is changeable.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public ManagedInstance.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
hostName
public ManagedInstance.Builder hostName(String hostName)
The FQDN of the managed instance.- Parameters:
hostName
- the value to set- Returns:
- this builder
-
serverCount
public ManagedInstance.Builder serverCount(Integer serverCount)
The number of servers running in the managed instance.- Parameters:
serverCount
- the value to set- Returns:
- this builder
-
pluginStatus
public ManagedInstance.Builder pluginStatus(String pluginStatus)
The plugin status of the managed instance.- Parameters:
pluginStatus
- the value to set- Returns:
- this builder
-
timeCreated
public ManagedInstance.Builder timeCreated(Date timeCreated)
The date and time the managed instance was first reported (in RFC 3339 format).Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ManagedInstance.Builder timeUpdated(Date timeUpdated)
The date and time the managed instance was last report (in RFC 3339 format).Example: 2016-08-25T21:10:29.600Z
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
osName
public ManagedInstance.Builder osName(String osName)
The operating system name on the managed instance.- Parameters:
osName
- the value to set- Returns:
- this builder
-
osArch
public ManagedInstance.Builder osArch(String osArch)
The operating system architecture on the managed instance.- Parameters:
osArch
- the value to set- Returns:
- this builder
-
configuration
public ManagedInstance.Builder configuration(ManagedInstanceConfiguration configuration)
-
build
public ManagedInstance build()
-
copy
public ManagedInstance.Builder copy(ManagedInstance model)
-
-