public static final class InterfaceVpcEndpointAttributes.Builder
extends java.lang.Object
InterfaceVpcEndpointAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InterfaceVpcEndpointAttributes |
build()
Builds the configured instance.
|
InterfaceVpcEndpointAttributes.Builder |
port(java.lang.Number port)
Sets the value of
InterfaceVpcEndpointAttributes.getPort() |
InterfaceVpcEndpointAttributes.Builder |
securityGroupId(java.lang.String securityGroupId)
Deprecated.
use `securityGroups` instead
|
InterfaceVpcEndpointAttributes.Builder |
securityGroups(java.util.List<? extends ISecurityGroup> securityGroups)
Sets the value of
InterfaceVpcEndpointAttributes.getSecurityGroups() |
InterfaceVpcEndpointAttributes.Builder |
vpcEndpointId(java.lang.String vpcEndpointId)
Sets the value of
InterfaceVpcEndpointAttributes.getVpcEndpointId() |
public InterfaceVpcEndpointAttributes.Builder port(java.lang.Number port)
InterfaceVpcEndpointAttributes.getPort()
port
- The port of the service of the interface VPC endpoint. This parameter is required.this
public InterfaceVpcEndpointAttributes.Builder vpcEndpointId(java.lang.String vpcEndpointId)
InterfaceVpcEndpointAttributes.getVpcEndpointId()
vpcEndpointId
- The interface VPC endpoint identifier. This parameter is required.this
@Deprecated public InterfaceVpcEndpointAttributes.Builder securityGroupId(java.lang.String securityGroupId)
InterfaceVpcEndpointAttributes.getSecurityGroupId()
securityGroupId
- The identifier of the security group associated with the interface VPC endpoint.this
public InterfaceVpcEndpointAttributes.Builder securityGroups(java.util.List<? extends ISecurityGroup> securityGroups)
InterfaceVpcEndpointAttributes.getSecurityGroups()
securityGroups
- The security groups associated with the interface VPC endpoint.this
public InterfaceVpcEndpointAttributes build()
InterfaceVpcEndpointAttributes
java.lang.NullPointerException
- if any required attribute was not provided