Interface ResourceShareAssociation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>, SdkBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>, SdkPojo
Enclosing class:
ResourceShareAssociation

public static interface ResourceShareAssociation.Builder extends SdkPojo, CopyableBuilder<ResourceShareAssociation.Builder,ResourceShareAssociation>
  • Method Details

    • resourceShareArn

      ResourceShareAssociation.Builder resourceShareArn(String resourceShareArn)

      The Amazon Resource Name (ARN) of the resource share.

      Parameters:
      resourceShareArn - The Amazon Resource Name (ARN) of the resource share.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • associationType

      ResourceShareAssociation.Builder associationType(String associationType)

      The type of entity included in this association.

      Parameters:
      associationType - The type of entity included in this association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associationType

      The type of entity included in this association.

      Parameters:
      associationType - The type of entity included in this association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the association.

      Parameters:
      status - The current status of the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the association.

      Parameters:
      status - The current status of the association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.