Class SenderInvitation.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public SenderInvitation.Builder compartmentId​(String compartmentId)
        OCID of the sender tenancy.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • recipientInvitationId

        public SenderInvitation.Builder recipientInvitationId​(String recipientInvitationId)
        OCID of the corresponding recipient invitation.
        Parameters:
        recipientInvitationId - the value to set
        Returns:
        this builder
      • recipientTenancyId

        public SenderInvitation.Builder recipientTenancyId​(String recipientTenancyId)
        OCID of the recipient tenancy.
        Parameters:
        recipientTenancyId - the value to set
        Returns:
        this builder
      • lifecycleState

        public SenderInvitation.Builder lifecycleState​(LifecycleState lifecycleState)
        Lifecycle state of the sender invitation.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • displayName

        public SenderInvitation.Builder displayName​(String displayName)
        A user-created name to describe the invitation.

        Avoid entering confidential information.

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

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

        public SenderInvitation.Builder timeUpdated​(Date timeUpdated)
        Date and time when the sender invitation was last updated.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • recipientEmailAddress

        public SenderInvitation.Builder recipientEmailAddress​(String recipientEmailAddress)
        Email address of the recipient.
        Parameters:
        recipientEmailAddress - the value to set
        Returns:
        this builder
      • freeformTags

        public SenderInvitation.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 SenderInvitation.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
      • systemTags

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