Interface CreateCustomRoutingAcceleratorRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateCustomRoutingAcceleratorRequest.Builder,CreateCustomRoutingAcceleratorRequest>,GlobalAcceleratorRequest.Builder,SdkBuilder<CreateCustomRoutingAcceleratorRequest.Builder,CreateCustomRoutingAcceleratorRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateCustomRoutingAcceleratorRequest
public static interface CreateCustomRoutingAcceleratorRequest.Builder extends GlobalAcceleratorRequest.Builder, SdkPojo, CopyableBuilder<CreateCustomRoutingAcceleratorRequest.Builder,CreateCustomRoutingAcceleratorRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCustomRoutingAcceleratorRequest.Builderenabled(Boolean enabled)Indicates whether an accelerator is enabled.CreateCustomRoutingAcceleratorRequest.BuilderidempotencyToken(String idempotencyToken)A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.CreateCustomRoutingAcceleratorRequest.BuilderipAddresses(String... ipAddresses)Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.CreateCustomRoutingAcceleratorRequest.BuilderipAddresses(Collection<String> ipAddresses)Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.CreateCustomRoutingAcceleratorRequest.BuilderipAddressType(String ipAddressType)The IP address type that an accelerator supports.CreateCustomRoutingAcceleratorRequest.BuilderipAddressType(IpAddressType ipAddressType)The IP address type that an accelerator supports.CreateCustomRoutingAcceleratorRequest.Buildername(String name)The name of a custom routing accelerator.CreateCustomRoutingAcceleratorRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateCustomRoutingAcceleratorRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateCustomRoutingAcceleratorRequest.Buildertags(Collection<Tag> tags)Create tags for an accelerator.CreateCustomRoutingAcceleratorRequest.Buildertags(Consumer<Tag.Builder>... tags)Create tags for an accelerator.CreateCustomRoutingAcceleratorRequest.Buildertags(Tag... tags)Create tags for an accelerator.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.globalaccelerator.model.GlobalAcceleratorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
CreateCustomRoutingAcceleratorRequest.Builder name(String name)
The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
- Parameters:
name- The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressType
CreateCustomRoutingAcceleratorRequest.Builder ipAddressType(String ipAddressType)
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
- Parameters:
ipAddressType- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
ipAddressType
CreateCustomRoutingAcceleratorRequest.Builder ipAddressType(IpAddressType ipAddressType)
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
- Parameters:
ipAddressType- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
ipAddresses
CreateCustomRoutingAcceleratorRequest.Builder ipAddresses(Collection<String> ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
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 Global Accelerator Developer Guide.
- Parameters:
ipAddresses- Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
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 Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddresses
CreateCustomRoutingAcceleratorRequest.Builder ipAddresses(String... ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
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 Global Accelerator Developer Guide.
- Parameters:
ipAddresses- Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
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 Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
CreateCustomRoutingAcceleratorRequest.Builder enabled(Boolean enabled)
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
- Parameters:
enabled- Indicates whether an accelerator is enabled. The value is true or false. The default value is true.If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idempotencyToken
CreateCustomRoutingAcceleratorRequest.Builder idempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
- Parameters:
idempotencyToken- A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCustomRoutingAcceleratorRequest.Builder tags(Collection<Tag> tags)
Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
tags- Create tags for an accelerator.For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCustomRoutingAcceleratorRequest.Builder tags(Tag... tags)
Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
tags- Create tags for an accelerator.For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateCustomRoutingAcceleratorRequest.Builder tags(Consumer<Tag.Builder>... tags)
Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateCustomRoutingAcceleratorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateCustomRoutingAcceleratorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-