Interface AddApplicationVpcConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddApplicationVpcConfigurationRequest.Builder,,AddApplicationVpcConfigurationRequest> KinesisAnalyticsV2Request.Builder,SdkBuilder<AddApplicationVpcConfigurationRequest.Builder,,AddApplicationVpcConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AddApplicationVpcConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationName(String applicationName) The name of an existing application.conditionalToken(String conditionalToken) A value you use to implement strong concurrency for application updates.currentApplicationVersionId(Long currentApplicationVersionId) The version of the application to which you want to add the VPC configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) Description of the VPC to add to the application.vpcConfiguration(VpcConfiguration vpcConfiguration) Description of the VPC to add to the application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
applicationName
The name of an existing application.
- Parameters:
applicationName- The name of an existing application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentApplicationVersionId
AddApplicationVpcConfigurationRequest.Builder currentApplicationVersionId(Long currentApplicationVersionId) The version of the application to which you want to add the VPC configuration. You must provide the
CurrentApplicationVersionIdor theConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, theConcurrentModificationExceptionis returned. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.- Parameters:
currentApplicationVersionId- The version of the application to which you want to add the VPC configuration. You must provide theCurrentApplicationVersionIdor theConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, theConcurrentModificationExceptionis returned. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
Description of the VPC to add to the application.
- Parameters:
vpcConfiguration- Description of the VPC to add to the application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfiguration
default AddApplicationVpcConfigurationRequest.Builder vpcConfiguration(Consumer<VpcConfiguration.Builder> vpcConfiguration) Description of the VPC to add to the application.
This is a convenience method that creates an instance of theVpcConfiguration.Builderavoiding the need to create one manually viaVpcConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfiguration(VpcConfiguration).- Parameters:
vpcConfiguration- a consumer that will call methods onVpcConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conditionalToken
A value you use to implement strong concurrency for application updates. You must provide the
ApplicationVersionIDor theConditionalToken. You get the application's currentConditionalTokenusing DescribeApplication. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.- Parameters:
conditionalToken- A value you use to implement strong concurrency for application updates. You must provide theApplicationVersionIDor theConditionalToken. You get the application's currentConditionalTokenusing DescribeApplication. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AddApplicationVpcConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AddApplicationVpcConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-