Class ManagementAgentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.model.ManagementAgentSummary.Builder
-
- Enclosing class:
- ManagementAgentSummary
public static class ManagementAgentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementAgentSummary.Builder
availabilityStatus(AvailabilityStatus availabilityStatus)
The current availability status of managementAgentManagementAgentSummary
build()
ManagementAgentSummary.Builder
compartmentId(String compartmentId)
Compartment IdentifierManagementAgentSummary.Builder
copy(ManagementAgentSummary model)
ManagementAgentSummary.Builder
dataSourceSummaryList(List<DataSourceSummaryItem> dataSourceSummaryList)
list of dataSources summaries associated with the agentManagementAgentSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.ManagementAgentSummary.Builder
displayName(String displayName)
Management Agent NameManagementAgentSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.ManagementAgentSummary.Builder
host(String host)
Management Agent host machine nameManagementAgentSummary.Builder
hostId(String hostId)
Host resource ocidManagementAgentSummary.Builder
id(String id)
agent identifierManagementAgentSummary.Builder
installKeyId(String installKeyId)
agent install key identifierManagementAgentSummary.Builder
installType(InstallTypes installType)
The install type, either AGENT or GATEWAYManagementAgentSummary.Builder
isAgentAutoUpgradable(Boolean isAgentAutoUpgradable)
true if the agent can be upgraded automatically; false if it must be upgraded manually.ManagementAgentSummary.Builder
isCustomerDeployed(Boolean isCustomerDeployed)
true, if the agent image is manually downloaded and installed.ManagementAgentSummary.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.ManagementAgentSummary.Builder
lifecycleState(LifecycleStates lifecycleState)
The current state of managementAgentManagementAgentSummary.Builder
platformName(String platformName)
Platform NameManagementAgentSummary.Builder
platformType(PlatformTypes platformType)
Platform TypeManagementAgentSummary.Builder
platformVersion(String platformVersion)
Platform VersionManagementAgentSummary.Builder
pluginList(List<ManagementAgentPluginDetails> pluginList)
list of managementAgentPlugins associated with the agentManagementAgentSummary.Builder
resourceArtifactVersion(String resourceArtifactVersion)
Version of the deployment artifact instantiated by this Management Agent.ManagementAgentSummary.Builder
timeCreated(Date timeCreated)
The time the Management Agent was created.ManagementAgentSummary.Builder
timeLastHeartbeat(Date timeLastHeartbeat)
The time the Management Agent has last recorded its heartbeat.ManagementAgentSummary.Builder
timeUpdated(Date timeUpdated)
The time the Management Agent was last updated.ManagementAgentSummary.Builder
version(String version)
Management Agent Version
-
-
-
Method Detail
-
id
public ManagementAgentSummary.Builder id(String id)
agent identifier- Parameters:
id
- the value to set- Returns:
- this builder
-
installKeyId
public ManagementAgentSummary.Builder installKeyId(String installKeyId)
agent install key identifier- Parameters:
installKeyId
- the value to set- Returns:
- this builder
-
displayName
public ManagementAgentSummary.Builder displayName(String displayName)
Management Agent Name- Parameters:
displayName
- the value to set- Returns:
- this builder
-
platformType
public ManagementAgentSummary.Builder platformType(PlatformTypes platformType)
Platform Type- Parameters:
platformType
- the value to set- Returns:
- this builder
-
platformName
public ManagementAgentSummary.Builder platformName(String platformName)
Platform Name- Parameters:
platformName
- the value to set- Returns:
- this builder
-
platformVersion
public ManagementAgentSummary.Builder platformVersion(String platformVersion)
Platform Version- Parameters:
platformVersion
- the value to set- Returns:
- this builder
-
version
public ManagementAgentSummary.Builder version(String version)
Management Agent Version- Parameters:
version
- the value to set- Returns:
- this builder
-
resourceArtifactVersion
public ManagementAgentSummary.Builder resourceArtifactVersion(String resourceArtifactVersion)
Version of the deployment artifact instantiated by this Management Agent.The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes (whose artifacts are based upon Standalone but can advance independently) is YYMMDD.HHMM.VVVVVVVVVVVV. VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999
- Parameters:
resourceArtifactVersion
- the value to set- Returns:
- this builder
-
isAgentAutoUpgradable
public ManagementAgentSummary.Builder isAgentAutoUpgradable(Boolean isAgentAutoUpgradable)
true if the agent can be upgraded automatically; false if it must be upgraded manually.This flag is derived from the tenancy level auto upgrade preference.
- Parameters:
isAgentAutoUpgradable
- the value to set- Returns:
- this builder
-
timeCreated
public ManagementAgentSummary.Builder timeCreated(Date timeCreated)
The time the Management Agent was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public ManagementAgentSummary.Builder timeUpdated(Date timeUpdated)
The time the Management Agent was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
host
public ManagementAgentSummary.Builder host(String host)
Management Agent host machine name- Parameters:
host
- the value to set- Returns:
- this builder
-
hostId
public ManagementAgentSummary.Builder hostId(String hostId)
Host resource ocid- Parameters:
hostId
- the value to set- Returns:
- this builder
-
pluginList
public ManagementAgentSummary.Builder pluginList(List<ManagementAgentPluginDetails> pluginList)
list of managementAgentPlugins associated with the agent- Parameters:
pluginList
- the value to set- Returns:
- this builder
-
compartmentId
public ManagementAgentSummary.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
timeLastHeartbeat
public ManagementAgentSummary.Builder timeLastHeartbeat(Date timeLastHeartbeat)
The time the Management Agent has last recorded its heartbeat.An RFC3339 formatted datetime string
- Parameters:
timeLastHeartbeat
- the value to set- Returns:
- this builder
-
availabilityStatus
public ManagementAgentSummary.Builder availabilityStatus(AvailabilityStatus availabilityStatus)
The current availability status of managementAgent- Parameters:
availabilityStatus
- the value to set- Returns:
- this builder
-
lifecycleState
public ManagementAgentSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of managementAgent- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public ManagementAgentSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
isCustomerDeployed
public ManagementAgentSummary.Builder isCustomerDeployed(Boolean isCustomerDeployed)
true, if the agent image is manually downloaded and installed.false, if the agent is deployed as a plugin in Oracle Cloud Agent.
- Parameters:
isCustomerDeployed
- the value to set- Returns:
- this builder
-
installType
public ManagementAgentSummary.Builder installType(InstallTypes installType)
The install type, either AGENT or GATEWAY- Parameters:
installType
- the value to set- Returns:
- this builder
-
dataSourceSummaryList
public ManagementAgentSummary.Builder dataSourceSummaryList(List<DataSourceSummaryItem> dataSourceSummaryList)
list of dataSources summaries associated with the agent- Parameters:
dataSourceSummaryList
- the value to set- Returns:
- this builder
-
freeformTags
public ManagementAgentSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public ManagementAgentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public ManagementAgentSummary build()
-
copy
public ManagementAgentSummary.Builder copy(ManagementAgentSummary model)
-
-