Interface PutApplicationPolicyRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<PutApplicationPolicyRequest.Builder,,- PutApplicationPolicyRequest> - SdkBuilder<PutApplicationPolicyRequest.Builder,,- PutApplicationPolicyRequest> - SdkPojo,- SdkRequest.Builder,- ServerlessApplicationRepositoryRequest.Builder
- Enclosing class:
- PutApplicationPolicyRequest
@Mutable
@NotThreadSafe
public static interface PutApplicationPolicyRequest.Builder
extends ServerlessApplicationRepositoryRequest.Builder, SdkPojo, CopyableBuilder<PutApplicationPolicyRequest.Builder,PutApplicationPolicyRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionapplicationId(String applicationId) The Amazon Resource Name (ARN) of the application.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.statements(Collection<ApplicationPolicyStatement> statements) An array of policy statements applied to the application.statements(Consumer<ApplicationPolicyStatement.Builder>... statements) An array of policy statements applied to the application.statements(ApplicationPolicyStatement... statements) An array of policy statements applied to the application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.serverlessapplicationrepository.model.ServerlessApplicationRepositoryRequest.Builderbuild
- 
Method Details- 
applicationIdThe Amazon Resource Name (ARN) of the application. - Parameters:
- applicationId- The Amazon Resource Name (ARN) of the application.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statementsAn 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.
 
- 
statementsAn 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.
 
- 
statementsPutApplicationPolicyRequest.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 tostatements(List<ApplicationPolicyStatement>).- Parameters:
- statements- a consumer that will call methods on- ApplicationPolicyStatement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationPutApplicationPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationPutApplicationPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-