Interface PutApplicationPolicyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<PutApplicationPolicyResponse.Builder,PutApplicationPolicyResponse>,SdkBuilder<PutApplicationPolicyResponse.Builder,PutApplicationPolicyResponse>,SdkPojo,SdkResponse.Builder,ServerlessApplicationRepositoryResponse.Builder
- Enclosing class:
- PutApplicationPolicyResponse
public static interface PutApplicationPolicyResponse.Builder extends ServerlessApplicationRepositoryResponse.Builder, SdkPojo, CopyableBuilder<PutApplicationPolicyResponse.Builder,PutApplicationPolicyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutApplicationPolicyResponse.Builderstatements(Collection<ApplicationPolicyStatement> statements)An array of policy statements applied to the application.PutApplicationPolicyResponse.Builderstatements(Consumer<ApplicationPolicyStatement.Builder>... statements)An array of policy statements applied to the application.PutApplicationPolicyResponse.Builderstatements(ApplicationPolicyStatement... statements)An array of policy statements applied to the application.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
statements
PutApplicationPolicyResponse.Builder statements(Collection<ApplicationPolicyStatement> statements)
An array of policy statements applied to the application.
- Parameters:
statements- An array of policy statements applied to the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
PutApplicationPolicyResponse.Builder statements(ApplicationPolicyStatement... statements)
An array of policy statements applied to the application.
- Parameters:
statements- An array of policy statements applied to the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statements
PutApplicationPolicyResponse.Builder statements(Consumer<ApplicationPolicyStatement.Builder>... statements)
An array of policy statements applied to the application.
This is a convenience method that creates an instance of theApplicationPolicyStatement.Builderavoiding the need to create one manually viaApplicationPolicyStatement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#statements(List.) - Parameters:
statements- a consumer that will call methods onApplicationPolicyStatement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#statements(java.util.Collection)
-
-