public static interface LoadBalancerAttributes.Builder extends SdkPojo, CopyableBuilder<LoadBalancerAttributes.Builder,LoadBalancerAttributes>
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
additionalAttributes(AdditionalAttribute... additionalAttributes)
Any additional attributes.
|
LoadBalancerAttributes.Builder |
additionalAttributes(Collection<AdditionalAttribute> additionalAttributes)
Any additional attributes.
|
LoadBalancerAttributes.Builder |
additionalAttributes(Consumer<AdditionalAttribute.Builder>... additionalAttributes)
Any additional attributes.
|
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 |
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 |
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 |
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.
|
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.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
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.
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.
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 that creates an instance of theCrossZoneLoadBalancing.Builder
avoiding the
need to create one manually via CrossZoneLoadBalancing.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to crossZoneLoadBalancing(CrossZoneLoadBalancing)
.crossZoneLoadBalancing
- a consumer that will call methods on CrossZoneLoadBalancing.Builder
crossZoneLoadBalancing(CrossZoneLoadBalancing)
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.
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.
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 that creates an instance of theAccessLog.Builder
avoiding the need to create
one manually via AccessLog.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to accessLog(AccessLog)
.accessLog
- a consumer that will call methods on AccessLog.Builder
accessLog(AccessLog)
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.
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.
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 that creates an instance of theConnectionDraining.Builder
avoiding the need to
create one manually via ConnectionDraining.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to connectionDraining(ConnectionDraining)
.connectionDraining
- a consumer that will call methods on ConnectionDraining.Builder
connectionDraining(ConnectionDraining)
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.
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.
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 that creates an instance of theConnectionSettings.Builder
avoiding the need to
create one manually via ConnectionSettings.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to connectionSettings(ConnectionSettings)
.connectionSettings
- a consumer that will call methods on ConnectionSettings.Builder
connectionSettings(ConnectionSettings)
LoadBalancerAttributes.Builder additionalAttributes(Collection<AdditionalAttribute> additionalAttributes)
Any additional attributes.
additionalAttributes
- Any additional attributes.LoadBalancerAttributes.Builder additionalAttributes(AdditionalAttribute... additionalAttributes)
Any additional attributes.
additionalAttributes
- Any additional attributes.LoadBalancerAttributes.Builder additionalAttributes(Consumer<AdditionalAttribute.Builder>... additionalAttributes)
Any additional attributes.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #additionalAttributes(List)
.additionalAttributes
- a consumer that will call methods on List.Builder
#additionalAttributes(List)
Copyright © 2022. All rights reserved.