public static interface PutApplicationPolicyRequest.Builder extends ServerlessApplicationRepositoryRequest.Builder, SdkPojo, CopyableBuilder<PutApplicationPolicyRequest.Builder,PutApplicationPolicyRequest>
build
overrideConfiguration
copy
applyMutation, build
PutApplicationPolicyRequest.Builder applicationId(String applicationId)
The Amazon Resource Name (ARN) of the application.
applicationId
- The Amazon Resource Name (ARN) of the application.PutApplicationPolicyRequest.Builder statements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
statements
- An array of policy statements applied to the application.PutApplicationPolicyRequest.Builder statements(ApplicationPolicyStatement... statements)
An array of policy statements applied to the application.
statements
- An array of policy statements applied to the application.PutApplicationPolicyRequest.Builder statements(Consumer<ApplicationPolicyStatement.Builder>... statements)
An array of policy statements applied to the application.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #statements(List)
.statements
- a consumer that will call methods on List.Builder
#statements(List)
PutApplicationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutApplicationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.