Interface PrincipalRoleEntitlementDetails.Builder

  • Method Details

    • principal

      The principal (user or group) that is granted access to assume the IAM role.

      Parameters:
      principal - The principal (user or group) that is granted access to assume the IAM role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principal

      The principal (user or group) that is granted access to assume the IAM role.

      This is a convenience method that creates an instance of the Principal.Builder avoiding the need to create one manually via Principal.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to principal(Principal).

      Parameters:
      principal - a consumer that will call methods on Principal.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      The ARN of the IAM role that the principal can assume.

      Parameters:
      roleArn - The ARN of the IAM role that the principal can assume.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • account

      The 12-digit Amazon Web Services account ID where the IAM role resides.

      Parameters:
      account - The 12-digit Amazon Web Services account ID where the IAM role resides.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountName

      The friendly name of the Amazon Web Services account where the IAM role resides.

      Parameters:
      accountName - The friendly name of the Amazon Web Services account where the IAM role resides.
      Returns:
      Returns a reference to this object so that method calls can be chained together.