Interface Principal.Builder

    • Method Detail

      • id

        Principal.Builder id​(String id)

        The ID of the principal that can be associated with a resource share.

        Parameters:
        id - The ID of the principal that can be associated with a resource share.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        Principal.Builder creationTime​(Instant creationTime)

        The date and time when the principal was associated with the resource share.

        Parameters:
        creationTime - The date and time when the principal was associated with the resource share.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedTime

        Principal.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        The date and time when the association between the resource share and the principal was last updated.

        Parameters:
        lastUpdatedTime - The date and time when the association between the resource share and the principal was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • external

        Principal.Builder external​(Boolean external)

        Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:

        • True – The two accounts belong to same organization.

        • False – The two accounts do not belong to the same organization.

        Parameters:
        external - Indicates the relationship between the Amazon Web Services account the principal belongs to and the account that owns the resource share:

        • True – The two accounts belong to same organization.

        • False – The two accounts do not belong to the same organization.

        Returns:
        Returns a reference to this object so that method calls can be chained together.