public static final class WithoutPolicyUpdatesOptions.Builder
extends java.lang.Object
WithoutPolicyUpdatesOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
WithoutPolicyUpdatesOptions.Builder |
addGrantsToResources(java.lang.Boolean addGrantsToResources)
Sets the value of
WithoutPolicyUpdatesOptions.getAddGrantsToResources() |
WithoutPolicyUpdatesOptions |
build()
Builds the configured instance.
|
public WithoutPolicyUpdatesOptions.Builder addGrantsToResources(java.lang.Boolean addGrantsToResources)
WithoutPolicyUpdatesOptions.getAddGrantsToResources()
addGrantsToResources
- Add grants to resources instead of dropping them.
If this is false
or not specified, grant permissions added to this role are ignored.
It is your own responsibility to make sure the role has the required permissions.
If this is true
, any grant permissions will be added to the resource instead.
this
public WithoutPolicyUpdatesOptions build()
WithoutPolicyUpdatesOptions
java.lang.NullPointerException
- if any required attribute was not provided