public static class AgentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AgentSummary |
build() |
AgentSummary.Builder |
compartmentId(String compartmentId)
OCID of the compartment
|
AgentSummary.Builder |
copy(AgentSummary model) |
AgentSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
AgentSummary.Builder |
displayName(String displayName)
ODMS Agent name
|
AgentSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
AgentSummary.Builder |
id(String id)
The OCID of the resource
|
AgentSummary.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
AgentSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current state of the ODMS on-premises Agent.
|
AgentSummary.Builder |
streamId(String streamId)
The OCID of the Stream
|
AgentSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
AgentSummary.Builder |
timeCreated(Date timeCreated)
The time the Agent was created.
|
AgentSummary.Builder |
timeUpdated(Date timeUpdated)
The time of the last Agent details update.
|
AgentSummary.Builder |
version(String version)
ODMS Agent version
|
public AgentSummary.Builder id(String id)
The OCID of the resource
id
- the value to setpublic AgentSummary.Builder displayName(String displayName)
ODMS Agent name
displayName
- the value to setpublic AgentSummary.Builder compartmentId(String compartmentId)
OCID of the compartment
compartmentId
- the value to setpublic AgentSummary.Builder streamId(String streamId)
The OCID of the Stream
streamId
- the value to setpublic AgentSummary.Builder version(String version)
ODMS Agent version
version
- the value to setpublic AgentSummary.Builder timeCreated(Date timeCreated)
The time the Agent was created. An RFC3339 formatted datetime string.
timeCreated
- the value to setpublic AgentSummary.Builder timeUpdated(Date timeUpdated)
The time of the last Agent details update. An RFC3339 formatted datetime string.
timeUpdated
- the value to setpublic AgentSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current state of the ODMS on-premises Agent.
lifecycleState
- the value to setpublic AgentSummary.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.
lifecycleDetails
- the value to setpublic AgentSummary.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"}
freeformTags
- the value to setpublic AgentSummary.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"}}
definedTags
- the value to setpublic AgentSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic AgentSummary build()
public AgentSummary.Builder copy(AgentSummary model)
Copyright © 2016–2023. All rights reserved.