Package com.oracle.bmc.jms.model
Class InstallationSite.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.InstallationSite.Builder
-
- Enclosing class:
- InstallationSite
public static class InstallationSite.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstallationSite.Builder
approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications running on this installationInstallationSite.Builder
blocklist(List<BlocklistEntry> blocklist)
The list of operations that are blocklisted.InstallationSite
build()
InstallationSite.Builder
copy(InstallationSite model)
InstallationSite.Builder
hostname(String hostname)
The hostname of the managed instance (if applicable).InstallationSite.Builder
installationKey(String installationKey)
The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.InstallationSite.Builder
jre(JavaRuntimeId jre)
InstallationSite.Builder
lifecycleState(LifecycleState lifecycleState)
The lifecycle state of the installation site.InstallationSite.Builder
managedInstanceId(String managedInstanceId)
The OCID of the related managed instance.InstallationSite.Builder
managedInstanceType(ManagedInstanceType managedInstanceType)
The type of the source of events.InstallationSite.Builder
operatingSystem(OperatingSystem operatingSystem)
InstallationSite.Builder
path(String path)
The file system path of the installation.InstallationSite.Builder
timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.
-
-
-
Method Detail
-
installationKey
public InstallationSite.Builder installationKey(String installationKey)
The unique identifier for the installation of a Java Runtime at a specific path on a specific operating system.- Parameters:
installationKey
- the value to set- Returns:
- this builder
-
managedInstanceId
public InstallationSite.Builder managedInstanceId(String managedInstanceId)
The OCID of the related managed instance.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder
-
jre
public InstallationSite.Builder jre(JavaRuntimeId jre)
-
path
public InstallationSite.Builder path(String path)
The file system path of the installation.- Parameters:
path
- the value to set- Returns:
- this builder
-
operatingSystem
public InstallationSite.Builder operatingSystem(OperatingSystem operatingSystem)
-
approximateApplicationCount
public InstallationSite.Builder approximateApplicationCount(Integer approximateApplicationCount)
The approximate count of applications running on this installation- Parameters:
approximateApplicationCount
- the value to set- Returns:
- this builder
-
timeLastSeen
public InstallationSite.Builder timeLastSeen(Date timeLastSeen)
The date and time the resource was last reported to JMS.This is potentially after the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period.
- Parameters:
timeLastSeen
- the value to set- Returns:
- this builder
-
blocklist
public InstallationSite.Builder blocklist(List<BlocklistEntry> blocklist)
The list of operations that are blocklisted.- Parameters:
blocklist
- the value to set- Returns:
- this builder
-
lifecycleState
public InstallationSite.Builder lifecycleState(LifecycleState lifecycleState)
The lifecycle state of the installation site.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
managedInstanceType
public InstallationSite.Builder managedInstanceType(ManagedInstanceType managedInstanceType)
The type of the source of events.- Parameters:
managedInstanceType
- the value to set- Returns:
- this builder
-
hostname
public InstallationSite.Builder hostname(String hostname)
The hostname of the managed instance (if applicable).- Parameters:
hostname
- the value to set- Returns:
- this builder
-
build
public InstallationSite build()
-
copy
public InstallationSite.Builder copy(InstallationSite model)
-
-