Package com.oracle.bmc.opsi.model
Class HostDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.opsi.model.HostDetails.Builder
-
- Enclosing class:
- HostDetails
public static class HostDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostDetails.Builder
agentIdentifier(String agentIdentifier)
The identifier of the agent.HostDetails
build()
HostDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment.HostDetails.Builder
copy(HostDetails model)
HostDetails.Builder
hostDisplayName(String hostDisplayName)
The user-friendly name for the host.HostDetails.Builder
hostName(String hostName)
The host name.HostDetails.Builder
id(String id)
The OCID of the host.HostDetails.Builder
platformType(HostDetails.PlatformType platformType)
Platform type.
-
-
-
Method Detail
-
id
public HostDetails.Builder id(String id)
The OCID of the host.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public HostDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
hostName
public HostDetails.Builder hostName(String hostName)
The host name.The host name is unique amongst the hosts managed by the same management agent.
- Parameters:
hostName
- the value to set- Returns:
- this builder
-
hostDisplayName
public HostDetails.Builder hostDisplayName(String hostDisplayName)
The user-friendly name for the host.The name does not have to be unique.
- Parameters:
hostDisplayName
- the value to set- Returns:
- this builder
-
platformType
public HostDetails.Builder platformType(HostDetails.PlatformType platformType)
Platform type.Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX, HP-UX].
- Parameters:
platformType
- the value to set- Returns:
- this builder
-
agentIdentifier
public HostDetails.Builder agentIdentifier(String agentIdentifier)
The identifier of the agent.- Parameters:
agentIdentifier
- the value to set- Returns:
- this builder
-
build
public HostDetails build()
-
copy
public HostDetails.Builder copy(HostDetails model)
-
-