Class VpcIngressConnectionAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apprunner.alpha.VpcIngressConnectionAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcIngressConnectionAttributes>
- Enclosing interface:
VpcIngressConnectionAttributes
@Stability(Experimental)
public static final class VpcIngressConnectionAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<VpcIngressConnectionAttributes>
A builder for
VpcIngressConnectionAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.domainName
(String domainName) Sets the value ofVpcIngressConnectionAttributes.getDomainName()
Sets the value ofVpcIngressConnectionAttributes.getStatus()
vpcIngressConnectionArn
(String vpcIngressConnectionArn) Sets the value ofVpcIngressConnectionAttributes.getVpcIngressConnectionArn()
vpcIngressConnectionName
(String vpcIngressConnectionName) Sets the value ofVpcIngressConnectionAttributes.getVpcIngressConnectionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
domainName
@Stability(Experimental) public VpcIngressConnectionAttributes.Builder domainName(String domainName) Sets the value ofVpcIngressConnectionAttributes.getDomainName()
- Parameters:
domainName
- The domain name associated with the VPC Ingress Connection resource. This parameter is required.- Returns:
this
-
status
Sets the value ofVpcIngressConnectionAttributes.getStatus()
- Parameters:
status
- The current status of the VPC Ingress Connection. This parameter is required.- Returns:
this
-
vpcIngressConnectionArn
@Stability(Experimental) public VpcIngressConnectionAttributes.Builder vpcIngressConnectionArn(String vpcIngressConnectionArn) Sets the value ofVpcIngressConnectionAttributes.getVpcIngressConnectionArn()
- Parameters:
vpcIngressConnectionArn
- The Amazon Resource Name (ARN) of the VPC Ingress Connection. This parameter is required.- Returns:
this
-
vpcIngressConnectionName
@Stability(Experimental) public VpcIngressConnectionAttributes.Builder vpcIngressConnectionName(String vpcIngressConnectionName) Sets the value ofVpcIngressConnectionAttributes.getVpcIngressConnectionName()
- Parameters:
vpcIngressConnectionName
- The name of the VPC Ingress Connection. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<VpcIngressConnectionAttributes>
- Returns:
- a new instance of
VpcIngressConnectionAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-