Class WlpAgent.Builder

  • Enclosing class:
    WlpAgent

    public static class WlpAgent.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public WlpAgent.Builder id​(String id)
        OCID for WlpAgent
        Parameters:
        id - the value to set
        Returns:
        this builder
      • hostId

        public WlpAgent.Builder hostId​(String hostId)
        OCID for instance in which WlpAgent is installed
        Parameters:
        hostId - the value to set
        Returns:
        this builder
      • tenantId

        public WlpAgent.Builder tenantId​(String tenantId)
        TenantId of the host
        Parameters:
        tenantId - the value to set
        Returns:
        this builder
      • compartmentId

        public WlpAgent.Builder compartmentId​(String compartmentId)
        Compartment OCID of WlpAgent.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • agentVersion

        public WlpAgent.Builder agentVersion​(String agentVersion)
        The version of the agent
        Parameters:
        agentVersion - the value to set
        Returns:
        this builder
      • certificateId

        public WlpAgent.Builder certificateId​(String certificateId)
        The certificate ID returned by OCI certificates service
        Parameters:
        certificateId - the value to set
        Returns:
        this builder
      • certificateSignedRequest

        public WlpAgent.Builder certificateSignedRequest​(String certificateSignedRequest)
        The updated certificate signing request
        Parameters:
        certificateSignedRequest - the value to set
        Returns:
        this builder
      • timeCreated

        public WlpAgent.Builder timeCreated​(Date timeCreated)
        The date and time the WlpAgent was created.

        Format defined by RFC3339.

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

        public WlpAgent.Builder timeUpdated​(Date timeUpdated)
        The date and time the WlpAgent was updated.

        Format defined by RFC3339.

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

        public WlpAgent.Builder locks​(List<ResourceLock> locks)
        Locks associated with this resource.
        Parameters:
        locks - the value to set
        Returns:
        this builder
      • freeformTags

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

        Avoid entering confidential information.

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

        public WlpAgent.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
      • systemTags

        public WlpAgent.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.

        Example: {"orcl-cloud": {"free-tier-retained": "true"}}

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