Package com.oracle.bmc.ocvp.model
Class ManagementApplianceSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.ManagementApplianceSummary.Builder
-
- Enclosing class:
- ManagementApplianceSummary
public static class ManagementApplianceSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementApplianceSummarybuild()ManagementApplianceSummary.BuildercompartmentId(String compartmentId)The OCID of compartment in OCI, that this appliance is going to be created in.ManagementApplianceSummary.BuildercomputeInstanceId(String computeInstanceId)The OCID of compute instance of management appliance in OCI.ManagementApplianceSummary.Builderconfiguration(ManagementApplianceConfiguration configuration)ManagementApplianceSummary.Builderconnections(List<ManagementApplianceConnection> connections)Array of connections for management appliance.ManagementApplianceSummary.Buildercopy(ManagementApplianceSummary model)ManagementApplianceSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagementApplianceSummary.BuilderdisplayName(String displayName)A descriptive name for the management appliance.ManagementApplianceSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ManagementApplianceSummary.BuilderheartbeatConnectionStates(List<ManagementApplianceConnectionStatus> heartbeatConnectionStates)Current states of connections.ManagementApplianceSummary.Builderid(String id)The OCID of management appliance.ManagementApplianceSummary.BuilderlifecycleDetails(ManagementApplianceLifecycleDetails lifecycleDetails)Information about current lifecycleState.ManagementApplianceSummary.BuilderlifecycleState(ManagementApplianceLifecycleState lifecycleState)Current state of the management appliance.ManagementApplianceSummary.BuildermanagementAgentId(String managementAgentId)The OCID of management agent, that this appliance is running in.ManagementApplianceSummary.BuildersddcId(String sddcId)OCID of SDDC in OCI, that this appliance is going to be registered in.ManagementApplianceSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ManagementApplianceSummary.BuildertimeConfigurationUpdated(Date timeConfigurationUpdated)The date and time the configuration of management appliance was last updated in the format defined by RFC3339.ManagementApplianceSummary.BuildertimeCreated(Date timeCreated)The date and time the management appliance was created in the format defined by RFC3339.ManagementApplianceSummary.BuildertimeLastHeartbeat(Date timeLastHeartbeat)The date and time the management appliance has last received heartbeat in the format defined by RFC3339.ManagementApplianceSummary.BuildertimeUpdated(Date timeUpdated)The date and time the management appliance was last updated in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public ManagementApplianceSummary.Builder id(String id)
The OCID of management appliance.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ManagementApplianceSummary.Builder compartmentId(String compartmentId)
The OCID of compartment in OCI, that this appliance is going to be created in.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
sddcId
public ManagementApplianceSummary.Builder sddcId(String sddcId)
OCID of SDDC in OCI, that this appliance is going to be registered in.- Parameters:
sddcId- the value to set- Returns:
- this builder
-
computeInstanceId
public ManagementApplianceSummary.Builder computeInstanceId(String computeInstanceId)
The OCID of compute instance of management appliance in OCI.- Parameters:
computeInstanceId- the value to set- Returns:
- this builder
-
managementAgentId
public ManagementApplianceSummary.Builder managementAgentId(String managementAgentId)
The OCID of management agent, that this appliance is running in.- Parameters:
managementAgentId- the value to set- Returns:
- this builder
-
displayName
public ManagementApplianceSummary.Builder displayName(String displayName)
A descriptive name for the management appliance.It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
lifecycleState
public ManagementApplianceSummary.Builder lifecycleState(ManagementApplianceLifecycleState lifecycleState)
Current state of the management appliance.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ManagementApplianceSummary.Builder lifecycleDetails(ManagementApplianceLifecycleDetails lifecycleDetails)
Information about current lifecycleState.For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
configuration
public ManagementApplianceSummary.Builder configuration(ManagementApplianceConfiguration configuration)
-
connections
public ManagementApplianceSummary.Builder connections(List<ManagementApplianceConnection> connections)
Array of connections for management appliance.- Parameters:
connections- the value to set- Returns:
- this builder
-
timeCreated
public ManagementApplianceSummary.Builder timeCreated(Date timeCreated)
The date and time the management appliance was created in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ManagementApplianceSummary.Builder timeUpdated(Date timeUpdated)
The date and time the management appliance was last updated in the format defined by RFC3339.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
timeConfigurationUpdated
public ManagementApplianceSummary.Builder timeConfigurationUpdated(Date timeConfigurationUpdated)
The date and time the configuration of management appliance was last updated in the format defined by RFC3339.- Parameters:
timeConfigurationUpdated- the value to set- Returns:
- this builder
-
timeLastHeartbeat
public ManagementApplianceSummary.Builder timeLastHeartbeat(Date timeLastHeartbeat)
The date and time the management appliance has last received heartbeat in the format defined by RFC3339.- Parameters:
timeLastHeartbeat- the value to set- Returns:
- this builder
-
heartbeatConnectionStates
public ManagementApplianceSummary.Builder heartbeatConnectionStates(List<ManagementApplianceConnectionStatus> heartbeatConnectionStates)
Current states of connections.- Parameters:
heartbeatConnectionStates- the value to set- Returns:
- this builder
-
freeformTags
public ManagementApplianceSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ManagementApplianceSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ManagementApplianceSummary.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-retain: true}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ManagementApplianceSummary build()
-
copy
public ManagementApplianceSummary.Builder copy(ManagementApplianceSummary model)
-
-