@Stability(value=Stable) public static final class CfnServer.EndpointDetailsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnServer.EndpointDetailsProperty>
CfnServer.EndpointDetailsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnServer.EndpointDetailsProperty.Builder |
addressAllocationIds(List<String> addressAllocationIds)
Sets the value of
CfnServer.EndpointDetailsProperty.getAddressAllocationIds() |
CfnServer.EndpointDetailsProperty |
build()
Builds the configured instance.
|
CfnServer.EndpointDetailsProperty.Builder |
securityGroupIds(List<String> securityGroupIds)
Sets the value of
CfnServer.EndpointDetailsProperty.getSecurityGroupIds() |
CfnServer.EndpointDetailsProperty.Builder |
subnetIds(List<String> subnetIds)
Sets the value of
CfnServer.EndpointDetailsProperty.getSubnetIds() |
CfnServer.EndpointDetailsProperty.Builder |
vpcEndpointId(String vpcEndpointId)
Sets the value of
CfnServer.EndpointDetailsProperty.getVpcEndpointId() |
CfnServer.EndpointDetailsProperty.Builder |
vpcId(String vpcId)
Sets the value of
CfnServer.EndpointDetailsProperty.getVpcId() |
@Stability(value=Stable) public CfnServer.EndpointDetailsProperty.Builder addressAllocationIds(List<String> addressAllocationIds)
CfnServer.EndpointDetailsProperty.getAddressAllocationIds()addressAllocationIds - A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint.
This property can only be set when
EndpointTypeis set toVPCand it is only valid in theUpdateServerAPI.
this@Stability(value=Stable) public CfnServer.EndpointDetailsProperty.Builder securityGroupIds(List<String> securityGroupIds)
CfnServer.EndpointDetailsProperty.getSecurityGroupIds()securityGroupIds - A list of security groups IDs that are available to attach to your server's endpoint.
This property can only be set when
EndpointTypeis set toVPC.You can edit the
SecurityGroupIdsproperty in the UpdateServer API only if you are changing theEndpointTypefromPUBLICorVPC_ENDPOINTtoVPC. To change security groups associated with your server's VPC endpoint after creation, use the Amazon EC2 ModifyVpcEndpoint API.
this@Stability(value=Stable) public CfnServer.EndpointDetailsProperty.Builder subnetIds(List<String> subnetIds)
CfnServer.EndpointDetailsProperty.getSubnetIds()subnetIds - A list of subnet IDs that are required to host your server endpoint in your VPC.
This property can only be set when
EndpointTypeis set toVPC.
this@Stability(value=Stable) public CfnServer.EndpointDetailsProperty.Builder vpcEndpointId(String vpcEndpointId)
CfnServer.EndpointDetailsProperty.getVpcEndpointId()vpcEndpointId - The ID of the VPC endpoint.
This property can only be set when
EndpointTypeis set toVPC_ENDPOINT.
this@Stability(value=Stable) public CfnServer.EndpointDetailsProperty.Builder vpcId(String vpcId)
CfnServer.EndpointDetailsProperty.getVpcId()vpcId - The VPC ID of the virtual private cloud in which the server's endpoint will be hosted.
This property can only be set when
EndpointTypeis set toVPC.
this@Stability(value=Stable) public CfnServer.EndpointDetailsProperty build()
build in interface software.amazon.jsii.Builder<CfnServer.EndpointDetailsProperty>CfnServer.EndpointDetailsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.