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 Details

    • applicationName

      AddApplicationVpcConfigurationRequest.Builder applicationName(String 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 the ConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

      Parameters:
      currentApplicationVersionId - The version of the application to which you want to add the VPC configuration. You must provide the CurrentApplicationVersionId or the ConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
      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

      Description of the VPC to add to the application.

      This is a convenience method that creates an instance of the VpcConfiguration.Builder avoiding the need to create one manually via VpcConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to vpcConfiguration(VpcConfiguration).

      Parameters:
      vpcConfiguration - a consumer that will call methods on VpcConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conditionalToken

      AddApplicationVpcConfigurationRequest.Builder conditionalToken(String conditionalToken)

      A value you use to implement strong concurrency for application updates. You must provide the ApplicationVersionID or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

      Parameters:
      conditionalToken - A value you use to implement strong concurrency for application updates. You must provide the ApplicationVersionID or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.