Class Domain.Builder

  • Enclosing class:
    Domain

    public static class Domain.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public Domain.Builder id​(String id)
        The OCID of the identity domain.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public Domain.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the identity domain.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public Domain.Builder displayName​(String displayName)
        The mutable display name of the identity domain.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • description

        public Domain.Builder description​(String description)
        The identity domain description.

        You can have an empty description.

        Parameters:
        description - the value to set
        Returns:
        this builder
      • url

        public Domain.Builder url​(String url)
        Region-agnostic identity domain URL.
        Parameters:
        url - the value to set
        Returns:
        this builder
      • homeRegionUrl

        public Domain.Builder homeRegionUrl​(String homeRegionUrl)
        Region-specific identity domain URL.
        Parameters:
        homeRegionUrl - the value to set
        Returns:
        this builder
      • homeRegion

        public Domain.Builder homeRegion​(String homeRegion)
        The home region for the identity domain.

        See Regions and Availability Domains for the full list of supported region names.

        Example: us-phoenix-1

        Parameters:
        homeRegion - the value to set
        Returns:
        this builder
      • replicaRegions

        public Domain.Builder replicaRegions​(List<ReplicatedRegionDetails> replicaRegions)
        The regions where replicas of the identity domain exist.
        Parameters:
        replicaRegions - the value to set
        Returns:
        this builder
      • type

        public Domain.Builder type​(Domain.Type type)
        The type of the domain.
        Parameters:
        type - the value to set
        Returns:
        this builder
      • licenseType

        public Domain.Builder licenseType​(String licenseType)
        The license type of the identity domain.
        Parameters:
        licenseType - the value to set
        Returns:
        this builder
      • isHiddenOnLogin

        public Domain.Builder isHiddenOnLogin​(Boolean isHiddenOnLogin)
        Indicates whether the identity domain is hidden on the sign-in screen or not.
        Parameters:
        isHiddenOnLogin - the value to set
        Returns:
        this builder
      • timeCreated

        public Domain.Builder timeCreated​(Date timeCreated)
        Date and time the identity domain was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

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

        public Domain.Builder lifecycleState​(Domain.LifecycleState lifecycleState)
        The current state.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public Domain.Builder lifecycleDetails​(Domain.LifecycleDetails lifecycleDetails)
        Any additional details about the current state of the identity domain.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public Domain.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 Domain.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
      • build

        public Domain build()