-
Notifications
You must be signed in to change notification settings - Fork 853
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
Added support for IamPolicy in new module software.amazon.awssdk:iam-… #4185
Conversation
…policy-builder, a class to simplify the use of AWS policies.
9e142c2
to
aa79fd2
Compare
ElementType.PARAMETER}) | ||
@Retention(RetentionPolicy.CLASS) | ||
@SdkProtectedApi | ||
public @interface NotNull { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this because EqualsVerifier will use it to detect which fields are considered not-null. It allows me to test all of the equals/hashcode methods in the package at once from a single test (EqualsHashCodeTest).
* | ||
* <p>Setting this value will also override any values set via {@link #jsonFactory}. | ||
*/ | ||
public JsonWriter.Builder jsonGeneratorFactory(JsonGeneratorFactory jsonGeneratorFactory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this to allow me to configure the underlying JSON generator to pretty-print the JSON.
.../iam-policy-builder/src/main/java/software/amazon/awssdk/policybuilder/iam/IamStatement.java
Outdated
Show resolved
Hide resolved
.../iam-policy-builder/src/main/java/software/amazon/awssdk/policybuilder/iam/IamStatement.java
Show resolved
Hide resolved
.../src/main/java/software/amazon/awssdk/policybuilder/iam/internal/DefaultIamPolicyReader.java
Show resolved
Hide resolved
SonarCloud Quality Gate failed. 4 Bugs 20.5% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
#4185) * Added support for IamPolicy in new module software.amazon.awssdk:iam-policy-builder, a class to simplify the use of AWS policies. * Addressed comments.
…policy-builder, a class to simplify the use of AWS policies.
See IamPolicy for usage examples.
Implements #39