Class LinkSummary.Builder

  • Enclosing class:
    LinkSummary

    public static class LinkSummary.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public LinkSummary.Builder id​(String id)
        OCID of the link.
        Parameters:
        id - the value to set
        Returns:
        this builder
      • parentTenancyId

        public LinkSummary.Builder parentTenancyId​(String parentTenancyId)
        OCID of the parent tenancy.
        Parameters:
        parentTenancyId - the value to set
        Returns:
        this builder
      • childTenancyId

        public LinkSummary.Builder childTenancyId​(String childTenancyId)
        OCID of the child tenancy.
        Parameters:
        childTenancyId - the value to set
        Returns:
        this builder
      • lifecycleState

        public LinkSummary.Builder lifecycleState​(LifecycleState lifecycleState)
        Lifecycle state of the link.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • timeCreated

        public LinkSummary.Builder timeCreated​(Date timeCreated)
        Date-time when this link was created
        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public LinkSummary.Builder timeUpdated​(Date timeUpdated)
        Date-time when this link was last updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • timeTerminated

        public LinkSummary.Builder timeTerminated​(Date timeTerminated)
        Date-time when this link was terminated.
        Parameters:
        timeTerminated - the value to set
        Returns:
        this builder
      • systemTags

        public LinkSummary.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-retained”: “true”}}

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