@Stability(value=Stable) public static final class InterfaceVpcEndpointAttributes.Builder extends Object implements software.amazon.jsii.Builder<InterfaceVpcEndpointAttributes>
InterfaceVpcEndpointAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InterfaceVpcEndpointAttributes |
build()
Builds the configured instance.
|
InterfaceVpcEndpointAttributes.Builder |
port(Number port)
Sets the value of
InterfaceVpcEndpointAttributes.getPort() |
InterfaceVpcEndpointAttributes.Builder |
securityGroupId(String securityGroupId)
Deprecated.
use `securityGroups` instead
|
InterfaceVpcEndpointAttributes.Builder |
securityGroups(List<? extends ISecurityGroup> securityGroups)
Sets the value of
InterfaceVpcEndpointAttributes.getSecurityGroups() |
InterfaceVpcEndpointAttributes.Builder |
vpcEndpointId(String vpcEndpointId)
Sets the value of
InterfaceVpcEndpointAttributes.getVpcEndpointId() |
@Stability(value=Stable) public InterfaceVpcEndpointAttributes.Builder port(Number port)
InterfaceVpcEndpointAttributes.getPort()
port
- The port of the service of the interface VPC endpoint. This parameter is required.this
@Stability(value=Stable) public InterfaceVpcEndpointAttributes.Builder vpcEndpointId(String vpcEndpointId)
InterfaceVpcEndpointAttributes.getVpcEndpointId()
vpcEndpointId
- The interface VPC endpoint identifier. This parameter is required.this
@Stability(value=Deprecated) @Deprecated public InterfaceVpcEndpointAttributes.Builder securityGroupId(String securityGroupId)
InterfaceVpcEndpointAttributes.getSecurityGroupId()
securityGroupId
- The identifier of the security group associated with the interface VPC endpoint.this
@Stability(value=Stable) public InterfaceVpcEndpointAttributes.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
InterfaceVpcEndpointAttributes.getSecurityGroups()
securityGroups
- The security groups associated with the interface VPC endpoint.this
@Stability(value=Stable) public InterfaceVpcEndpointAttributes build()
build
in interface software.amazon.jsii.Builder<InterfaceVpcEndpointAttributes>
InterfaceVpcEndpointAttributes
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.