Class ApmDomain.Builder

  • Enclosing class:
    ApmDomain

    public static class ApmDomain.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • dataUploadEndpoint

        public ApmDomain.Builder dataUploadEndpoint​(String dataUploadEndpoint)
        The endpoint where the APM agents upload their observations and metrics.
        Parameters:
        dataUploadEndpoint - the value to set
        Returns:
        this builder
      • id

        public ApmDomain.Builder id​(String id)
        Unique identifier that is immutable on creation.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • displayName

        public ApmDomain.Builder displayName​(String displayName)
        Display name of the APM domain, which can be updated.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public ApmDomain.Builder description​(String description)
        Description of the APM domain.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • compartmentId

        public ApmDomain.Builder compartmentId​(String compartmentId)
        The OCID of the compartment corresponding to the APM domain.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • lifecycleState

        public ApmDomain.Builder lifecycleState​(LifecycleStates lifecycleState)
        The current lifecycle state of the APM domain.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • isFreeTier

        public ApmDomain.Builder isFreeTier​(Boolean isFreeTier)
        Indicates if this is an Always Free resource.
        Parameters:
        isFreeTier - the value to set
        Returns:
        this builder
      • timeCreated

        public ApmDomain.Builder timeCreated​(Date timeCreated)
        The time the APM domain was created, expressed in RFC 3339 timestamp format.
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ApmDomain.Builder timeUpdated​(Date timeUpdated)
        The time the APM domain was updated, expressed in RFC 3339 timestamp format.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • freeformTags

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