Class Link.Builder

  • Enclosing class:
    Link

    public static class Link.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

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

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

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

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

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

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

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

        public Link build()