Interface ResourceShareAssociation.Builder

    • Method Detail

      • resourceShareName

        ResourceShareAssociation.Builder resourceShareName​(String resourceShareName)

        The name of the resource share.

        Parameters:
        resourceShareName - The name of the resource share.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedEntity

        ResourceShareAssociation.Builder associatedEntity​(String associatedEntity)

        The associated entity. This can be either of the following:

        • For a resource association, this is the Amazon Resource Name (ARN) of the resource.

        • For principal associations, this is one of the following:

          • The ID of an Amazon Web Services account

          • The Amazon Resource Name (ARN) of an organization in Organizations

          • The ARN of an organizational unit (OU) in Organizations

          • The ARN of an IAM role

          • The ARN of an IAM user

        Parameters:
        associatedEntity - The associated entity. This can be either of the following:

        • For a resource association, this is the Amazon Resource Name (ARN) of the resource.

        • For principal associations, this is one of the following:

          • The ID of an Amazon Web Services account

          • The Amazon Resource Name (ARN) of an organization in Organizations

          • The ARN of an organizational unit (OU) in Organizations

          • The ARN of an IAM role

          • The ARN of an IAM user

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

        ResourceShareAssociation.Builder statusMessage​(String statusMessage)

        A message about the status of the association.

        Parameters:
        statusMessage - A message about the status of the association.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        ResourceShareAssociation.Builder creationTime​(Instant creationTime)

        The date and time when the association was created.

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

        ResourceShareAssociation.Builder lastUpdatedTime​(Instant lastUpdatedTime)

        The date and time when the association was last updated.

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

        ResourceShareAssociation.Builder external​(Boolean external)

        Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.

        Parameters:
        external - Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.
        Returns:
        Returns a reference to this object so that method calls can be chained together.