@Stability(value=Stable) public static final class CfnEIPProps.Builder extends Object implements software.amazon.jsii.Builder<CfnEIPProps>
CfnEIPProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEIPProps |
build()
Builds the configured instance.
|
CfnEIPProps.Builder |
domain(String domain)
Sets the value of
CfnEIPProps.getDomain() |
CfnEIPProps.Builder |
instanceId(String instanceId)
Sets the value of
CfnEIPProps.getInstanceId() |
CfnEIPProps.Builder |
networkBorderGroup(String networkBorderGroup)
Sets the value of
CfnEIPProps.getNetworkBorderGroup() |
CfnEIPProps.Builder |
publicIpv4Pool(String publicIpv4Pool)
Sets the value of
CfnEIPProps.getPublicIpv4Pool() |
CfnEIPProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnEIPProps.getTags() |
@Stability(value=Stable) public CfnEIPProps.Builder domain(String domain)
CfnEIPProps.getDomain()domain - Indicates whether the Elastic IP address is for use with instances in a VPC or instance in EC2-Classic.
Default: If the Region supports EC2-Classic, the default is standard . Otherwise, the default is vpc .
Use when allocating an address for use with a VPC if the Region supports EC2-Classic.
If you define an Elastic IP address and associate it with a VPC that is defined in the same template, you must declare a dependency on the VPC-gateway attachment by using the DependsOn Attribute on this resource.
this@Stability(value=Stable) public CfnEIPProps.Builder instanceId(String instanceId)
CfnEIPProps.getInstanceId()instanceId - The ID of the instance.
Updates to the
InstanceIdproperty may require some interruptions . Updates on an EIP reassociates the address on its associated resource.
this@Stability(value=Stable) public CfnEIPProps.Builder networkBorderGroup(String networkBorderGroup)
CfnEIPProps.getNetworkBorderGroup()networkBorderGroup - `AWS::EC2::EIP.NetworkBorderGroup`.this@Stability(value=Stable) public CfnEIPProps.Builder publicIpv4Pool(String publicIpv4Pool)
CfnEIPProps.getPublicIpv4Pool()publicIpv4Pool - The ID of an address pool that you own.
Use this parameter to let Amazon EC2 select an address from the address pool.
Updates to the
PublicIpv4Poolproperty may require some interruptions . Updates on an EIP reassociates the address on its associated resource.
this@Stability(value=Stable) public CfnEIPProps.Builder tags(List<? extends CfnTag> tags)
CfnEIPProps.getTags()tags - Any tags assigned to the Elastic IP address.
Updates to the
Tagsproperty may require some interruptions . Updates on an EIP reassociates the address on its associated resource.
this@Stability(value=Stable) public CfnEIPProps build()
build in interface software.amazon.jsii.Builder<CfnEIPProps>CfnEIPPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.