Package com.oracle.bmc.cloudbridge.model
Class PluginSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.PluginSummary.Builder
-
- Enclosing class:
- PluginSummary
public static class PluginSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginSummary.BuilderagentId(String agentId)Agent identifier.PluginSummarybuild()PluginSummary.Buildercopy(PluginSummary model)PluginSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)The defined tags associated with this resource, if any.PluginSummary.BuilderfreeformTags(Map<String,String> freeformTags)The freeform tags associated with this resource, if any.PluginSummary.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.PluginSummary.BuilderlifecycleState(Plugin.LifecycleState lifecycleState)The current state of the plugin.PluginSummary.Buildername(String name)Plugin identifier, which can be renamed.PluginSummary.BuilderpluginVersion(String pluginVersion)Plugin version.PluginSummary.BuildertimeCreated(Date timeCreated)The time when the plugin was created.PluginSummary.BuildertimeUpdated(Date timeUpdated)The time when the plugin was updated.
-
-
-
Method Detail
-
name
public PluginSummary.Builder name(String name)
Plugin identifier, which can be renamed.- Parameters:
name- the value to set- Returns:
- this builder
-
agentId
public PluginSummary.Builder agentId(String agentId)
Agent identifier.- Parameters:
agentId- the value to set- Returns:
- this builder
-
pluginVersion
public PluginSummary.Builder pluginVersion(String pluginVersion)
Plugin version.- Parameters:
pluginVersion- the value to set- Returns:
- this builder
-
timeCreated
public PluginSummary.Builder timeCreated(Date timeCreated)
The time when the plugin was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public PluginSummary.Builder timeUpdated(Date timeUpdated)
The time when the plugin was updated.An RFC3339 formatted datetime string.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public PluginSummary.Builder lifecycleState(Plugin.LifecycleState lifecycleState)
The current state of the plugin.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public PluginSummary.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
freeformTags
public PluginSummary.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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public PluginSummary.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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public PluginSummary build()
-
copy
public PluginSummary.Builder copy(PluginSummary model)
-
-