Interface GetCallerIdentityResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetCallerIdentityResponse.Builder,GetCallerIdentityResponse>, SdkBuilder<GetCallerIdentityResponse.Builder,GetCallerIdentityResponse>, SdkPojo, SdkResponse.Builder, StsResponse.Builder
Enclosing class:
GetCallerIdentityResponse

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

    • userId

      The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.

      Parameters:
      userId - The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • account

      The Amazon Web Services account ID number of the account that owns or contains the calling entity.

      Parameters:
      account - The Amazon Web Services account ID number of the account that owns or contains the calling entity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Web Services ARN associated with the calling entity.

      Parameters:
      arn - The Amazon Web Services ARN associated with the calling entity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.