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