@Stability(value=Stable) public static final class CfnAcceleratorProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAcceleratorProps>
CfnAcceleratorProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAcceleratorProps |
build()
Builds the configured instance.
|
CfnAcceleratorProps.Builder |
enabled(Boolean enabled)
Sets the value of
CfnAcceleratorProps.getEnabled() |
CfnAcceleratorProps.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnAcceleratorProps.getEnabled() |
CfnAcceleratorProps.Builder |
ipAddresses(List<String> ipAddresses)
Sets the value of
CfnAcceleratorProps.getIpAddresses() |
CfnAcceleratorProps.Builder |
ipAddressType(String ipAddressType)
Sets the value of
CfnAcceleratorProps.getIpAddressType() |
CfnAcceleratorProps.Builder |
name(String name)
Sets the value of
CfnAcceleratorProps.getName() |
CfnAcceleratorProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnAcceleratorProps.getTags() |
@Stability(value=Stable) public CfnAcceleratorProps.Builder name(String name)
CfnAcceleratorProps.getName()name - The name of the accelerator. This parameter is required.
The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.this@Stability(value=Stable) public CfnAcceleratorProps.Builder enabled(Boolean enabled)
CfnAcceleratorProps.getEnabled()enabled - Indicates whether the accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.this@Stability(value=Stable) public CfnAcceleratorProps.Builder enabled(IResolvable enabled)
CfnAcceleratorProps.getEnabled()enabled - Indicates whether the accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.this@Stability(value=Stable) public CfnAcceleratorProps.Builder ipAddresses(List<String> ipAddresses)
CfnAcceleratorProps.getIpAddresses()ipAddresses - Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator.
You can specify one or two addresses, separated by a comma. Do not include the /32 suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide .
this@Stability(value=Stable) public CfnAcceleratorProps.Builder ipAddressType(String ipAddressType)
CfnAcceleratorProps.getIpAddressType()ipAddressType - The value for the address type must be IPv4.this@Stability(value=Stable) public CfnAcceleratorProps.Builder tags(List<? extends CfnTag> tags)
CfnAcceleratorProps.getTags()tags - Create tags for an accelerator.
For more information, see Tagging in the AWS Global Accelerator Developer Guide .this@Stability(value=Stable) public CfnAcceleratorProps build()
build in interface software.amazon.jsii.Builder<CfnAcceleratorProps>CfnAcceleratorPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.