Interface GetCallerIdentityResponse.Builder

    • Method Detail

      • userId

        GetCallerIdentityResponse.Builder userId​(String 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

        GetCallerIdentityResponse.Builder account​(String 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

        GetCallerIdentityResponse.Builder arn​(String 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.