Class ManagementAgentSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • installKeyId

        public ManagementAgentSummary.Builder installKeyId​(String installKeyId)
        agent install key identifier
        Parameters:
        installKeyId - the value to set
        Returns:
        this builder
      • platformVersion

        public ManagementAgentSummary.Builder platformVersion​(String platformVersion)
        Platform Version
        Parameters:
        platformVersion - the value to set
        Returns:
        this builder
      • resourceArtifactVersion

        public ManagementAgentSummary.Builder resourceArtifactVersion​(String resourceArtifactVersion)
        Version of the deployment artifact instantiated by this Management Agent.

        The format for Standalone resourceMode is YYMMDD.HHMM, and the format for other modes (whose artifacts are based upon Standalone but can advance independently) is YYMMDD.HHMM.VVVVVVVVVVVV. VVVVVVVVVVVV is always a numeric value between 000000000000 and 999999999999

        Parameters:
        resourceArtifactVersion - the value to set
        Returns:
        this builder
      • isAgentAutoUpgradable

        public ManagementAgentSummary.Builder isAgentAutoUpgradable​(Boolean isAgentAutoUpgradable)
        true if the agent can be upgraded automatically; false if it must be upgraded manually.

        This flag is derived from the tenancy level auto upgrade preference.

        Parameters:
        isAgentAutoUpgradable - the value to set
        Returns:
        this builder
      • timeCreated

        public ManagementAgentSummary.Builder timeCreated​(Date timeCreated)
        The time the Management Agent was created.

        An RFC3339 formatted datetime string

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ManagementAgentSummary.Builder timeUpdated​(Date timeUpdated)
        The time the Management Agent was last updated.

        An RFC3339 formatted datetime string

        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • compartmentId

        public ManagementAgentSummary.Builder compartmentId​(String compartmentId)
        Compartment Identifier
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • timeLastHeartbeat

        public ManagementAgentSummary.Builder timeLastHeartbeat​(Date timeLastHeartbeat)
        The time the Management Agent has last recorded its heartbeat.

        An RFC3339 formatted datetime string

        Parameters:
        timeLastHeartbeat - the value to set
        Returns:
        this builder
      • availabilityStatus

        public ManagementAgentSummary.Builder availabilityStatus​(AvailabilityStatus availabilityStatus)
        The current availability status of managementAgent
        Parameters:
        availabilityStatus - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public ManagementAgentSummary.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.

        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • isCustomerDeployed

        public ManagementAgentSummary.Builder isCustomerDeployed​(Boolean isCustomerDeployed)
        true, if the agent image is manually downloaded and installed.

        false, if the agent is deployed as a plugin in Oracle Cloud Agent.

        Parameters:
        isCustomerDeployed - the value to set
        Returns:
        this builder
      • freeformTags

        public ManagementAgentSummary.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”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public ManagementAgentSummary.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”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder