Interface ResolvedConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResolvedConfiguration.Builder,,ResolvedConfiguration> SdkBuilder<ResolvedConfiguration.Builder,,ResolvedConfiguration> SdkPojo
- Enclosing class:
ResolvedConfiguration
@Mutable
@NotThreadSafe
public static interface ResolvedConfiguration.Builder
extends SdkPojo, CopyableBuilder<ResolvedConfiguration.Builder,ResolvedConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionloadBalancers(Collection<ServiceRevisionLoadBalancer> loadBalancers) The resolved load balancer configuration for the service revision.loadBalancers(Consumer<ServiceRevisionLoadBalancer.Builder>... loadBalancers) The resolved load balancer configuration for the service revision.loadBalancers(ServiceRevisionLoadBalancer... loadBalancers) The resolved load balancer configuration for the service revision.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
loadBalancers
The resolved load balancer configuration for the service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.
- Parameters:
loadBalancers- The resolved load balancer configuration for the service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
The resolved load balancer configuration for the service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.
- Parameters:
loadBalancers- The resolved load balancer configuration for the service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadBalancers
ResolvedConfiguration.Builder loadBalancers(Consumer<ServiceRevisionLoadBalancer.Builder>... loadBalancers) The resolved load balancer configuration for the service revision. This includes information about which target groups serve traffic and which listener rules direct traffic to them.
This is a convenience method that creates an instance of theServiceRevisionLoadBalancer.Builderavoiding the need to create one manually viaServiceRevisionLoadBalancer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloadBalancers(List<ServiceRevisionLoadBalancer>).- Parameters:
loadBalancers- a consumer that will call methods onServiceRevisionLoadBalancer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-