Skip to content

Minor updates to PR #3773 #3814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
import software.amazon.awssdk.utils.Validate;

/**
* Provides access to the AWS credentials used for accessing AWS services: AWS access key ID and secret access key. These
* credentials are used to securely sign requests to AWS services.
* Provides access to the AWS credentials used for accessing services: AWS access key ID and secret access key. These
* credentials are used to securely sign requests to services (e.g., AWS services) that use them for authentication.
*
* <p>For more details on AWS access keys, see:
* <a href="http://docs.amazonwebservices.com/AWSSecurityCredentials/1.0/AboutAWSCredentials.html#AccessKeys">
* http://docs.amazonwebservices.com/AWSSecurityCredentials/1.0/AboutAWSCredentials.html#AccessKeys</a></p>
* <a href="https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys">
* https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys</a></p>
*
* @see AwsCredentialsProvider
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,13 @@ public boolean equals(Object o) {
if (o == null || getClass() != o.getClass()) {
return false;
}

ResolveIdentityRequest that = (ResolveIdentityRequest) o;
return Objects.equals(properties, that.properties);
return properties.equals(that.properties);
}

@Override
public int hashCode() {
return 31 + Objects.hashCode(properties);
return Objects.hashCode(properties);
}

public static final class Builder implements SdkBuilder<Builder, ResolveIdentityRequest> {
Expand Down