Interface LoadBalancerAttributes.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<LoadBalancerAttributes.Builder,LoadBalancerAttributes>
,SdkBuilder<LoadBalancerAttributes.Builder,LoadBalancerAttributes>
,SdkPojo
- Enclosing class:
- LoadBalancerAttributes
public static interface LoadBalancerAttributes.Builder extends SdkPojo, CopyableBuilder<LoadBalancerAttributes.Builder,LoadBalancerAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LoadBalancerAttributes.Builder
accessLog(Consumer<AccessLog.Builder> accessLog)
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.LoadBalancerAttributes.Builder
accessLog(AccessLog accessLog)
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.LoadBalancerAttributes.Builder
additionalAttributes(Collection<AdditionalAttribute> additionalAttributes)
Any additional attributes.LoadBalancerAttributes.Builder
additionalAttributes(Consumer<AdditionalAttribute.Builder>... additionalAttributes)
Any additional attributes.LoadBalancerAttributes.Builder
additionalAttributes(AdditionalAttribute... additionalAttributes)
Any additional attributes.default LoadBalancerAttributes.Builder
connectionDraining(Consumer<ConnectionDraining.Builder> connectionDraining)
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.LoadBalancerAttributes.Builder
connectionDraining(ConnectionDraining connectionDraining)
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.default LoadBalancerAttributes.Builder
connectionSettings(Consumer<ConnectionSettings.Builder> connectionSettings)
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.LoadBalancerAttributes.Builder
connectionSettings(ConnectionSettings connectionSettings)
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.default LoadBalancerAttributes.Builder
crossZoneLoadBalancing(Consumer<CrossZoneLoadBalancing.Builder> crossZoneLoadBalancing)
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.LoadBalancerAttributes.Builder
crossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing)
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
crossZoneLoadBalancing
LoadBalancerAttributes.Builder crossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing)
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
- Parameters:
crossZoneLoadBalancing
- If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crossZoneLoadBalancing
default LoadBalancerAttributes.Builder crossZoneLoadBalancing(Consumer<CrossZoneLoadBalancing.Builder> crossZoneLoadBalancing)
If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.
For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.
This is a convenience method that creates an instance of theCrossZoneLoadBalancing.Builder
avoiding the need to create one manually viaCrossZoneLoadBalancing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocrossZoneLoadBalancing(CrossZoneLoadBalancing)
.- Parameters:
crossZoneLoadBalancing
- a consumer that will call methods onCrossZoneLoadBalancing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
crossZoneLoadBalancing(CrossZoneLoadBalancing)
-
accessLog
LoadBalancerAttributes.Builder accessLog(AccessLog accessLog)
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Classic Load Balancers Guide.
- Parameters:
accessLog
- If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.For more information, see Enable Access Logs in the Classic Load Balancers Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessLog
default LoadBalancerAttributes.Builder accessLog(Consumer<AccessLog.Builder> accessLog)
If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.
For more information, see Enable Access Logs in the Classic Load Balancers Guide.
This is a convenience method that creates an instance of theAccessLog.Builder
avoiding the need to create one manually viaAccessLog.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessLog(AccessLog)
.- Parameters:
accessLog
- a consumer that will call methods onAccessLog.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
accessLog(AccessLog)
-
connectionDraining
LoadBalancerAttributes.Builder connectionDraining(ConnectionDraining connectionDraining)
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
- Parameters:
connectionDraining
- If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionDraining
default LoadBalancerAttributes.Builder connectionDraining(Consumer<ConnectionDraining.Builder> connectionDraining)
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.
For more information, see Configure Connection Draining in the Classic Load Balancers Guide.
This is a convenience method that creates an instance of theConnectionDraining.Builder
avoiding the need to create one manually viaConnectionDraining.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionDraining(ConnectionDraining)
.- Parameters:
connectionDraining
- a consumer that will call methods onConnectionDraining.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
connectionDraining(ConnectionDraining)
-
connectionSettings
LoadBalancerAttributes.Builder connectionSettings(ConnectionSettings connectionSettings)
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
- Parameters:
connectionSettings
- If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionSettings
default LoadBalancerAttributes.Builder connectionSettings(Consumer<ConnectionSettings.Builder> connectionSettings)
If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.
By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.
This is a convenience method that creates an instance of theConnectionSettings.Builder
avoiding the need to create one manually viaConnectionSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionSettings(ConnectionSettings)
.- Parameters:
connectionSettings
- a consumer that will call methods onConnectionSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
connectionSettings(ConnectionSettings)
-
additionalAttributes
LoadBalancerAttributes.Builder additionalAttributes(Collection<AdditionalAttribute> additionalAttributes)
Any additional attributes.
- Parameters:
additionalAttributes
- Any additional attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
LoadBalancerAttributes.Builder additionalAttributes(AdditionalAttribute... additionalAttributes)
Any additional attributes.
- Parameters:
additionalAttributes
- Any additional attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalAttributes
LoadBalancerAttributes.Builder additionalAttributes(Consumer<AdditionalAttribute.Builder>... additionalAttributes)
Any additional attributes.
This is a convenience method that creates an instance of theAdditionalAttribute.Builder
avoiding the need to create one manually viaAdditionalAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#additionalAttributes(List
.) - Parameters:
additionalAttributes
- a consumer that will call methods onAdditionalAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#additionalAttributes(java.util.Collection
)
-
-