public static interface PutApplicationPolicyResponse.Builder extends ServerlessApplicationRepositoryResponse.Builder, CopyableBuilder<PutApplicationPolicyResponse.Builder,PutApplicationPolicyResponse>
Modifier and Type | Method and Description |
---|---|
PutApplicationPolicyResponse.Builder |
statements(ApplicationPolicyStatement... statements)
Array of policy statements applied to the application.
|
PutApplicationPolicyResponse.Builder |
statements(Collection<ApplicationPolicyStatement> statements)
Array of policy statements applied to the application.
|
PutApplicationPolicyResponse.Builder |
statements(Consumer<ApplicationPolicyStatement.Builder>... statements)
Array of policy statements applied to the application.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutApplicationPolicyResponse.Builder statements(Collection<ApplicationPolicyStatement> statements)
statements
- Array of policy statements applied to the application.PutApplicationPolicyResponse.Builder statements(ApplicationPolicyStatement... statements)
statements
- Array of policy statements applied to the application.PutApplicationPolicyResponse.Builder statements(Consumer<ApplicationPolicyStatement.Builder>... statements)
List.Builder
avoiding the need to create one manually via #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)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.