@Deprecated
    public AWSCredentials getRequestCredentials() {
        return credentialsProvider == null ? null : credentialsProvider.getCredentials();
    }
Returns the optional credentials to use to sign this request, overriding the default
credentials set at the client level.

@return The optional credentials to use to sign this request, overriding the default
        credentials set at the client level.

@deprecated by {@link #getRequestCredentialsProvider()}
aws-java-sdk-core/src/main/java/com/amazonaws/AmazonWebServiceRequest.java