Class EndpointGroupState.Builder
- java.lang.Object
-
- com.pulumi.aws.globalaccelerator.inputs.EndpointGroupState.Builder
-
- Enclosing class:
- EndpointGroupState
public static final class EndpointGroupState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(EndpointGroupState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EndpointGroupState defaults)
-
-
Method Detail
-
arn
public EndpointGroupState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- The Amazon Resource Name (ARN) of the endpoint group.- Returns:
- builder
-
arn
public EndpointGroupState.Builder arn(java.lang.String arn)
- Parameters:
arn
- The Amazon Resource Name (ARN) of the endpoint group.- Returns:
- builder
-
endpointConfigurations
public EndpointGroupState.Builder endpointConfigurations(@Nullable com.pulumi.core.Output<java.util.List<EndpointGroupEndpointConfigurationArgs>> endpointConfigurations)
- Parameters:
endpointConfigurations
- The list of endpoint objects. Fields documented below.- Returns:
- builder
-
endpointConfigurations
public EndpointGroupState.Builder endpointConfigurations(java.util.List<EndpointGroupEndpointConfigurationArgs> endpointConfigurations)
- Parameters:
endpointConfigurations
- The list of endpoint objects. Fields documented below.- Returns:
- builder
-
endpointConfigurations
public EndpointGroupState.Builder endpointConfigurations(EndpointGroupEndpointConfigurationArgs... endpointConfigurations)
- Parameters:
endpointConfigurations
- The list of endpoint objects. Fields documented below.- Returns:
- builder
-
endpointGroupRegion
public EndpointGroupState.Builder endpointGroupRegion(@Nullable com.pulumi.core.Output<java.lang.String> endpointGroupRegion)
- Parameters:
endpointGroupRegion
- The name of the AWS Region where the endpoint group is located.- Returns:
- builder
-
endpointGroupRegion
public EndpointGroupState.Builder endpointGroupRegion(java.lang.String endpointGroupRegion)
- Parameters:
endpointGroupRegion
- The name of the AWS Region where the endpoint group is located.- Returns:
- builder
-
healthCheckIntervalSeconds
public EndpointGroupState.Builder healthCheckIntervalSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> healthCheckIntervalSeconds)
- Parameters:
healthCheckIntervalSeconds
- The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.- Returns:
- builder
-
healthCheckIntervalSeconds
public EndpointGroupState.Builder healthCheckIntervalSeconds(java.lang.Integer healthCheckIntervalSeconds)
- Parameters:
healthCheckIntervalSeconds
- The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.- Returns:
- builder
-
healthCheckPath
public EndpointGroupState.Builder healthCheckPath(@Nullable com.pulumi.core.Output<java.lang.String> healthCheckPath)
- Parameters:
healthCheckPath
- If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (`/`). the provider will only perform drift detection of its value when present in a configuration.- Returns:
- builder
-
healthCheckPath
public EndpointGroupState.Builder healthCheckPath(java.lang.String healthCheckPath)
- Parameters:
healthCheckPath
- If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (`/`). the provider will only perform drift detection of its value when present in a configuration.- Returns:
- builder
-
healthCheckPort
public EndpointGroupState.Builder healthCheckPort(@Nullable com.pulumi.core.Output<java.lang.Integer> healthCheckPort)
- Parameters:
healthCheckPort
- The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list. the provider will only perform drift detection of its value when present in a configuration.- Returns:
- builder
-
healthCheckPort
public EndpointGroupState.Builder healthCheckPort(java.lang.Integer healthCheckPort)
- Parameters:
healthCheckPort
- The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list. the provider will only perform drift detection of its value when present in a configuration.- Returns:
- builder
-
healthCheckProtocol
public EndpointGroupState.Builder healthCheckProtocol(@Nullable com.pulumi.core.Output<java.lang.String> healthCheckProtocol)
- Parameters:
healthCheckProtocol
- The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.- Returns:
- builder
-
healthCheckProtocol
public EndpointGroupState.Builder healthCheckProtocol(java.lang.String healthCheckProtocol)
- Parameters:
healthCheckProtocol
- The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.- Returns:
- builder
-
listenerArn
public EndpointGroupState.Builder listenerArn(@Nullable com.pulumi.core.Output<java.lang.String> listenerArn)
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener.- Returns:
- builder
-
listenerArn
public EndpointGroupState.Builder listenerArn(java.lang.String listenerArn)
- Parameters:
listenerArn
- The Amazon Resource Name (ARN) of the listener.- Returns:
- builder
-
portOverrides
public EndpointGroupState.Builder portOverrides(@Nullable com.pulumi.core.Output<java.util.List<EndpointGroupPortOverrideArgs>> portOverrides)
- Parameters:
portOverrides
- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.- Returns:
- builder
-
portOverrides
public EndpointGroupState.Builder portOverrides(java.util.List<EndpointGroupPortOverrideArgs> portOverrides)
- Parameters:
portOverrides
- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.- Returns:
- builder
-
portOverrides
public EndpointGroupState.Builder portOverrides(EndpointGroupPortOverrideArgs... portOverrides)
- Parameters:
portOverrides
- Override specific listener ports used to route traffic to endpoints that are part of this endpoint group. Fields documented below.- Returns:
- builder
-
thresholdCount
public EndpointGroupState.Builder thresholdCount(@Nullable com.pulumi.core.Output<java.lang.Integer> thresholdCount)
- Parameters:
thresholdCount
- The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.- Returns:
- builder
-
thresholdCount
public EndpointGroupState.Builder thresholdCount(java.lang.Integer thresholdCount)
- Parameters:
thresholdCount
- The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.- Returns:
- builder
-
trafficDialPercentage
public EndpointGroupState.Builder trafficDialPercentage(@Nullable com.pulumi.core.Output<java.lang.Double> trafficDialPercentage)
- Parameters:
trafficDialPercentage
- The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.- Returns:
- builder
-
trafficDialPercentage
public EndpointGroupState.Builder trafficDialPercentage(java.lang.Double trafficDialPercentage)
- Parameters:
trafficDialPercentage
- The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. The default value is 100.- Returns:
- builder
-
build
public EndpointGroupState build()
-
-