@ Deprecated public void setRequestCredentials ( AWSCredentials credentials ) { this . credentialsProvider = credentials == null ? null : new StaticCredentialsProvider ( credentials ) ; }
Sets the optional credentials to use for this request overriding the default credentials set at the client level .