Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Agent.Builder |
agentPubKey(String agentPubKey)
Resource principal public key.
|
Agent.Builder |
agentType(Agent.AgentType agentType)
Type of the Agent.
|
Agent.Builder |
agentVersion(String agentVersion)
Agent identifier.
|
Agent |
build() |
Agent.Builder |
compartmentId(String compartmentId)
Compartment identifier.
|
Agent.Builder |
copy(Agent model) |
Agent.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.
|
Agent.Builder |
displayName(String displayName)
Agent identifier, can be renamed.
|
Agent.Builder |
environmentId(String environmentId)
Environment identifier.
|
Agent.Builder |
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.
|
Agent.Builder |
heartBeatStatus(Agent.HeartBeatStatus heartBeatStatus)
The current heartbeat status of the Agent based on its timeLastSyncReceived value.
|
Agent.Builder |
id(String id)
Unique identifier that is immutable on creation.
|
Agent.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state of the Agent in more detail.
|
Agent.Builder |
lifecycleState(Agent.LifecycleState lifecycleState)
The current state of the Agent.
|
Agent.Builder |
osVersion(String osVersion)
OS version.
|
Agent.Builder |
pluginList(List<PluginSummary> pluginList)
List of plugins associated with the agent.
|
Agent.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.
|
Agent.Builder |
timeCreated(Date timeCreated)
The time when the Agent was created.
|
Agent.Builder |
timeExpireAgentKeyInMs(Date timeExpireAgentKeyInMs)
The time since epoch for when the public key will expire.
|
Agent.Builder |
timeLastSyncReceived(Date timeLastSyncReceived)
The time when the last heartbeat of the Agent was noted.
|
Agent.Builder |
timeUpdated(Date timeUpdated)
The time when the Agent was updated.
|
public Agent.Builder id(String id)
Unique identifier that is immutable on creation.
id
- the value to setpublic Agent.Builder displayName(String displayName)
Agent identifier, can be renamed.
displayName
- the value to setpublic Agent.Builder compartmentId(String compartmentId)
Compartment identifier.
compartmentId
- the value to setpublic Agent.Builder agentType(Agent.AgentType agentType)
Type of the Agent.
agentType
- the value to setpublic Agent.Builder agentVersion(String agentVersion)
Agent identifier.
agentVersion
- the value to setpublic Agent.Builder osVersion(String osVersion)
OS version.
osVersion
- the value to setpublic Agent.Builder timeCreated(Date timeCreated)
The time when the Agent was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic Agent.Builder timeUpdated(Date timeUpdated)
The time when the Agent was updated. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic Agent.Builder timeLastSyncReceived(Date timeLastSyncReceived)
The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string.
timeLastSyncReceived
- the value to setpublic Agent.Builder heartBeatStatus(Agent.HeartBeatStatus heartBeatStatus)
The current heartbeat status of the Agent based on its timeLastSyncReceived value.
heartBeatStatus
- the value to setpublic Agent.Builder environmentId(String environmentId)
Environment identifier.
environmentId
- the value to setpublic Agent.Builder agentPubKey(String agentPubKey)
Resource principal public key.
agentPubKey
- the value to setpublic Agent.Builder timeExpireAgentKeyInMs(Date timeExpireAgentKeyInMs)
The time since epoch for when the public key will expire. An RFC3339 formatted datetime string.
timeExpireAgentKeyInMs
- the value to setpublic Agent.Builder lifecycleState(Agent.LifecycleState lifecycleState)
The current state of the Agent.
lifecycleState
- the value to setpublic Agent.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state of the Agent in more detail. For example, it can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Agent.Builder pluginList(List<PluginSummary> pluginList)
List of plugins associated with the agent.
pluginList
- the value to setpublic Agent.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any. Each tag is a simple key-value
pair with no predefined name, type, or namespace/scope. For more information, see
Resource
Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic Agent.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any. Each key is predefined and scoped
to namespaces. For more information, see Resource
Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Agent.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any. The system tags are set by Oracle
cloud infrastructure services. Each key is predefined and scoped to namespaces. For more
information, see Resource
Tags.
Example: {orcl-cloud: {free-tier-retain: true}}
systemTags
- the value to setpublic Agent build()
public Agent.Builder copy(Agent model)
Copyright © 2016–2024. All rights reserved.