public static final class SdkCallsPolicyOptions.Builder
extends java.lang.Object
SdkCallsPolicyOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SdkCallsPolicyOptions |
build()
Builds the configured instance.
|
SdkCallsPolicyOptions.Builder |
resources(java.util.List<java.lang.String> resources)
Sets the value of
SdkCallsPolicyOptions.getResources() |
public SdkCallsPolicyOptions.Builder resources(java.util.List<java.lang.String> resources)
SdkCallsPolicyOptions.getResources()
resources
- The resources that the calls will have access to. This parameter is required.
It is best to use specific resource ARN's when possible. However, you can also use AwsCustomResourcePolicy.ANY_RESOURCE
to allow access to all resources. For example, when onCreate
is used to create a resource which you don't
know the physical name of in advance.
Note that will apply to ALL SDK calls.
this
public SdkCallsPolicyOptions build()
SdkCallsPolicyOptions
java.lang.NullPointerException
- if any required attribute was not provided