Package com.oracle.bmc.ocvp.model
Class ManagementAppliance.Builder
- java.lang.Object
-
- com.oracle.bmc.ocvp.model.ManagementAppliance.Builder
-
- Enclosing class:
- ManagementAppliance
public static class ManagementAppliance.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagementAppliancebuild()ManagementAppliance.BuildercompartmentId(String compartmentId)The OCID of compartment in OCI, that this appliance is going to be created in.ManagementAppliance.BuildercomputeInstanceId(String computeInstanceId)The OCID of compute instance of management appliance in OCI.ManagementAppliance.Builderconfiguration(ManagementApplianceConfiguration configuration)ManagementAppliance.Builderconnections(List<ManagementApplianceConnection> connections)Array of connections for management appliance.ManagementAppliance.Buildercopy(ManagementAppliance model)ManagementAppliance.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagementAppliance.BuilderdisplayName(String displayName)A descriptive name for the management appliance.ManagementAppliance.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ManagementAppliance.BuilderheartbeatConnectionStates(List<ManagementApplianceConnectionStatus> heartbeatConnectionStates)Current states of connections.ManagementAppliance.Builderid(String id)The OCID of management appliance.ManagementAppliance.BuilderlifecycleDetails(ManagementApplianceLifecycleDetails lifecycleDetails)Information about current lifecycleState.ManagementAppliance.BuilderlifecycleState(ManagementApplianceLifecycleState lifecycleState)Current state of the management appliance.ManagementAppliance.BuildermanagementAgentId(String managementAgentId)The OCID of management agent, that this appliance is running in.ManagementAppliance.BuildersddcId(String sddcId)The OCID of SDDC in OCI, that this appliance is going to be registered in.ManagementAppliance.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.ManagementAppliance.BuildertimeConfigurationUpdated(Date timeConfigurationUpdated)The date and time the configuration of management appliance was last updated in the format defined by RFC3339.ManagementAppliance.BuildertimeCreated(Date timeCreated)The date and time the management appliance was created in the format defined by RFC3339.ManagementAppliance.BuildertimeLastHeartbeat(Date timeLastHeartbeat)The date and time the management appliance has last received heartbeat in the format defined by RFC3339.ManagementAppliance.BuildertimeUpdated(Date timeUpdated)The date and time the management appliance was last updated in the format defined by RFC3339.
-
-
-
Method Detail
-
id
public ManagementAppliance.Builder id(String id)
The OCID of management appliance.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ManagementAppliance.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 ManagementAppliance.Builder sddcId(String sddcId)
The 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 ManagementAppliance.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 ManagementAppliance.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 ManagementAppliance.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 ManagementAppliance.Builder lifecycleState(ManagementApplianceLifecycleState lifecycleState)
Current state of the management appliance.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ManagementAppliance.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 ManagementAppliance.Builder configuration(ManagementApplianceConfiguration configuration)
-
connections
public ManagementAppliance.Builder connections(List<ManagementApplianceConnection> connections)
Array of connections for management appliance.- Parameters:
connections- the value to set- Returns:
- this builder
-
timeCreated
public ManagementAppliance.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 ManagementAppliance.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 ManagementAppliance.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 ManagementAppliance.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 ManagementAppliance.Builder heartbeatConnectionStates(List<ManagementApplianceConnectionStatus> heartbeatConnectionStates)
Current states of connections.- Parameters:
heartbeatConnectionStates- the value to set- Returns:
- this builder
-
freeformTags
public ManagementAppliance.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 ManagementAppliance.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 ManagementAppliance.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 ManagementAppliance build()
-
copy
public ManagementAppliance.Builder copy(ManagementAppliance model)
-
-