Class AttachmentDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • targetRole

        public AttachmentDetails.Builder targetRole​(AttachmentDetails.TargetRole targetRole)
        The role of the target attachment.
        • PARENT - The target instance is the parent of this attachment. * CHILD - The target instance is the child of this attachment.
        Parameters:
        targetRole - the value to set
        Returns:
        this builder
      • isImplicit

        public AttachmentDetails.Builder isImplicit​(Boolean isImplicit)
        • If role == PARENT, the attached instance was created by this service instance * If role == CHILD, this instance was created from attached instance on behalf of a user
        Parameters:
        isImplicit - the value to set
        Returns:
        this builder
      • targetId

        public AttachmentDetails.Builder targetId​(String targetId)
        The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which this instance is attached.
        Parameters:
        targetId - the value to set
        Returns:
        this builder
      • targetInstanceUrl

        public AttachmentDetails.Builder targetInstanceUrl​(String targetInstanceUrl)
        The dataplane instance URL of the attached instance
        Parameters:
        targetInstanceUrl - the value to set
        Returns:
        this builder
      • targetServiceType

        public AttachmentDetails.Builder targetServiceType​(String targetServiceType)
        The type of the target instance, such as “FUSION”.
        Parameters:
        targetServiceType - the value to set
        Returns:
        this builder