Interface Principal.Builder

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

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

    • 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.
    • resourceShareArn

      Principal.Builder resourceShareArn(String resourceShareArn)

      The Amazon Resource Name (ARN) of a resource share the principal is associated with.

      Parameters:
      resourceShareArn - The Amazon Resource Name (ARN) of a resource share the principal is associated with.
      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.