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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kinesisanalyticsv2.model.KinesisAnalyticsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
CurrentApplicationVersionId
or theConditionalToken
. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, theConcurrentModificationException
is returned. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.- Parameters:
currentApplicationVersionId
- The version of the application to which you want to add the VPC configuration. You must provide theCurrentApplicationVersionId
or theConditionalToken
. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, theConcurrentModificationException
is returned. For better concurrency support, use theConditionalToken
parameter 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.Builder
avoiding the need to create one manually viaVpcConfiguration.builder()
.When the
Consumer
completes,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
ApplicationVersionID
or theConditionalToken
. You get the application's currentConditionalToken
using DescribeApplication. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.- Parameters:
conditionalToken
- A value you use to implement strong concurrency for application updates. You must provide theApplicationVersionID
or theConditionalToken
. You get the application's currentConditionalToken
using DescribeApplication. For better concurrency support, use theConditionalToken
parameter 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-