Class CustomRoutingAcceleratorState.Builder
- java.lang.Object
-
- com.pulumi.aws.globalaccelerator.inputs.CustomRoutingAcceleratorState.Builder
-
- Enclosing class:
- CustomRoutingAcceleratorState
public static final class CustomRoutingAcceleratorState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CustomRoutingAcceleratorState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CustomRoutingAcceleratorState defaults)
-
-
Method Detail
-
attributes
public CustomRoutingAcceleratorState.Builder attributes(@Nullable com.pulumi.core.Output<CustomRoutingAcceleratorAttributesArgs> attributes)
- Parameters:
attributes
- The attributes of the accelerator. Fields documented below.- Returns:
- builder
-
attributes
public CustomRoutingAcceleratorState.Builder attributes(CustomRoutingAcceleratorAttributesArgs attributes)
- Parameters:
attributes
- The attributes of the accelerator. Fields documented below.- Returns:
- builder
-
dnsName
public CustomRoutingAcceleratorState.Builder dnsName(@Nullable com.pulumi.core.Output<java.lang.String> dnsName)
- Parameters:
dnsName
- The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.- Returns:
- builder
-
dnsName
public CustomRoutingAcceleratorState.Builder dnsName(java.lang.String dnsName)
- Parameters:
dnsName
- The DNS name of the accelerator. For example, `a5d53ff5ee6bca4ce.awsglobalaccelerator.com`.- Returns:
- builder
-
enabled
public CustomRoutingAcceleratorState.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled
- Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.- Returns:
- builder
-
enabled
public CustomRoutingAcceleratorState.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled
- Indicates whether the accelerator is enabled. Defaults to `true`. Valid values: `true`, `false`.- Returns:
- builder
-
hostedZoneId
public CustomRoutingAcceleratorState.Builder hostedZoneId(@Nullable com.pulumi.core.Output<java.lang.String> hostedZoneId)
- Parameters:
hostedZoneId
- - The Global Accelerator Route 53 zone ID that can be used to route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.- Returns:
- builder
-
hostedZoneId
public CustomRoutingAcceleratorState.Builder hostedZoneId(java.lang.String hostedZoneId)
- Parameters:
hostedZoneId
- - The Global Accelerator Route 53 zone ID that can be used to route an [Alias Resource Record Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API_AliasTarget.html) to the Global Accelerator. This attribute is simply an alias for the zone ID `Z2BJ6XQ5FK7U4H`.- Returns:
- builder
-
ipAddressType
public CustomRoutingAcceleratorState.Builder ipAddressType(@Nullable com.pulumi.core.Output<java.lang.String> ipAddressType)
- Parameters:
ipAddressType
- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.- Returns:
- builder
-
ipAddressType
public CustomRoutingAcceleratorState.Builder ipAddressType(java.lang.String ipAddressType)
- Parameters:
ipAddressType
- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be `"IPV4"`.- Returns:
- builder
-
ipAddresses
public CustomRoutingAcceleratorState.Builder ipAddresses(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> ipAddresses)
- Parameters:
ipAddresses
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.- Returns:
- builder
-
ipAddresses
public CustomRoutingAcceleratorState.Builder ipAddresses(java.util.List<java.lang.String> ipAddresses)
- Parameters:
ipAddresses
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.- Returns:
- builder
-
ipAddresses
public CustomRoutingAcceleratorState.Builder ipAddresses(java.lang.String... ipAddresses)
- Parameters:
ipAddresses
- The IP addresses to use for BYOIP accelerators. If not specified, the service assigns IP addresses. Valid values: 1 or 2 IPv4 addresses.- Returns:
- builder
-
ipSets
public CustomRoutingAcceleratorState.Builder ipSets(@Nullable com.pulumi.core.Output<java.util.List<CustomRoutingAcceleratorIpSetArgs>> ipSets)
- Parameters:
ipSets
- IP address set associated with the accelerator.- Returns:
- builder
-
ipSets
public CustomRoutingAcceleratorState.Builder ipSets(java.util.List<CustomRoutingAcceleratorIpSetArgs> ipSets)
- Parameters:
ipSets
- IP address set associated with the accelerator.- Returns:
- builder
-
ipSets
public CustomRoutingAcceleratorState.Builder ipSets(CustomRoutingAcceleratorIpSetArgs... ipSets)
- Parameters:
ipSets
- IP address set associated with the accelerator.- Returns:
- builder
-
name
public CustomRoutingAcceleratorState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of a custom routing accelerator.- Returns:
- builder
-
name
public CustomRoutingAcceleratorState.Builder name(java.lang.String name)
- Parameters:
name
- The name of a custom routing accelerator.- Returns:
- builder
-
tags
public CustomRoutingAcceleratorState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public CustomRoutingAcceleratorState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public CustomRoutingAcceleratorState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public CustomRoutingAcceleratorState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
build
public CustomRoutingAcceleratorState build()
-
-