Class ManagementAppliance.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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
      • 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
      • 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
      • pluginVersion

        public ManagementAppliance.Builder pluginVersion​(String pluginVersion)
        Current version of OCVS management plugin installed by Management Agent.

        As soon as OCVS service team publishes a new version OCVS management plugin (ocvs-ma-plugin-.zip) to Management Agent service, the service distributes it to Management Appliances owned by customers. This field shows which version of the OCVS management plugin is currently installed and running for this customer.

        Parameters:
        pluginVersion - 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