Class ApplicationAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.flink.alpha.ApplicationAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApplicationAttributes>
- Enclosing interface:
ApplicationAttributes
@Stability(Experimental)
public static final class ApplicationAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ApplicationAttributes>
A builder for
ApplicationAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationArn
(String applicationArn) Sets the value ofApplicationAttributes.getApplicationArn()
build()
Builds the configured instance.securityGroups
(List<? extends ISecurityGroup> securityGroups) Sets the value ofApplicationAttributes.getSecurityGroups()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationArn
Sets the value ofApplicationAttributes.getApplicationArn()
- Parameters:
applicationArn
- The ARN of the Flink application. This parameter is required. Format: arn::kinesisanalytics: :invalid input: '<'account-id>:application/invalid input: '<'application-name> - Returns:
this
-
securityGroups
@Stability(Experimental) public ApplicationAttributes.Builder securityGroups(List<? extends ISecurityGroup> securityGroups) Sets the value ofApplicationAttributes.getSecurityGroups()
- Parameters:
securityGroups
- The security groups for this Flink application if deployed in a VPC.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ApplicationAttributes>
- Returns:
- a new instance of
ApplicationAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-