Class ListenerState.Builder
- java.lang.Object
-
- com.pulumi.aws.globalaccelerator.inputs.ListenerState.Builder
-
- Enclosing class:
- ListenerState
public static final class ListenerState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ListenerState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListenerState.BuilderacceleratorArn(com.pulumi.core.Output<java.lang.String> acceleratorArn)ListenerState.BuilderacceleratorArn(java.lang.String acceleratorArn)ListenerState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)ListenerState.Builderarn(java.lang.String arn)ListenerStatebuild()ListenerState.BuilderclientAffinity(com.pulumi.core.Output<java.lang.String> clientAffinity)ListenerState.BuilderclientAffinity(java.lang.String clientAffinity)ListenerState.BuilderportRanges(ListenerPortRangeArgs... portRanges)ListenerState.BuilderportRanges(com.pulumi.core.Output<java.util.List<ListenerPortRangeArgs>> portRanges)ListenerState.BuilderportRanges(java.util.List<ListenerPortRangeArgs> portRanges)ListenerState.Builderprotocol(com.pulumi.core.Output<java.lang.String> protocol)ListenerState.Builderprotocol(java.lang.String protocol)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ListenerState defaults)
-
-
Method Detail
-
acceleratorArn
public ListenerState.Builder acceleratorArn(@Nullable com.pulumi.core.Output<java.lang.String> acceleratorArn)
- Parameters:
acceleratorArn- ARN of your accelerator.- Returns:
- builder
-
acceleratorArn
public ListenerState.Builder acceleratorArn(java.lang.String acceleratorArn)
- Parameters:
acceleratorArn- ARN of your accelerator.- Returns:
- builder
-
arn
public ListenerState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the listener.- Returns:
- builder
-
arn
public ListenerState.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the listener.- Returns:
- builder
-
clientAffinity
public ListenerState.Builder clientAffinity(@Nullable com.pulumi.core.Output<java.lang.String> clientAffinity)
- Parameters:
clientAffinity- Direct all requests from a user to the same endpoint. Valid values are `NONE`, `SOURCE_IP`. Default: `NONE`. If `NONE`, Global Accelerator uses the "five-tuple" properties of source IP address, source port, destination IP address, destination port, and protocol to select the hash value. If `SOURCE_IP`, Global Accelerator uses the "two-tuple" properties of source (client) IP address and destination IP address to select the hash value.- Returns:
- builder
-
clientAffinity
public ListenerState.Builder clientAffinity(java.lang.String clientAffinity)
- Parameters:
clientAffinity- Direct all requests from a user to the same endpoint. Valid values are `NONE`, `SOURCE_IP`. Default: `NONE`. If `NONE`, Global Accelerator uses the "five-tuple" properties of source IP address, source port, destination IP address, destination port, and protocol to select the hash value. If `SOURCE_IP`, Global Accelerator uses the "two-tuple" properties of source (client) IP address and destination IP address to select the hash value.- Returns:
- builder
-
portRanges
public ListenerState.Builder portRanges(@Nullable com.pulumi.core.Output<java.util.List<ListenerPortRangeArgs>> portRanges)
- Parameters:
portRanges- Port ranges for the connections from clients to the accelerator. See `portRange` below.- Returns:
- builder
-
portRanges
public ListenerState.Builder portRanges(java.util.List<ListenerPortRangeArgs> portRanges)
- Parameters:
portRanges- Port ranges for the connections from clients to the accelerator. See `portRange` below.- Returns:
- builder
-
portRanges
public ListenerState.Builder portRanges(ListenerPortRangeArgs... portRanges)
- Parameters:
portRanges- Port ranges for the connections from clients to the accelerator. See `portRange` below.- Returns:
- builder
-
protocol
public ListenerState.Builder protocol(@Nullable com.pulumi.core.Output<java.lang.String> protocol)
- Parameters:
protocol- Protocol for the connections from clients to the accelerator. Valid values are `TCP`, `UDP`.- Returns:
- builder
-
protocol
public ListenerState.Builder protocol(java.lang.String protocol)
- Parameters:
protocol- Protocol for the connections from clients to the accelerator. Valid values are `TCP`, `UDP`.- Returns:
- builder
-
build
public ListenerState build()
-
-