@Override
    public SetSubnetsResult setSubnets(SetSubnetsRequest request) {
        request = beforeClientExecution(request);
        return executeSetSubnets(request);
    }
<p>
Enables the Availability Zones for the specified public subnets for the specified Application Load Balancer,
Network Load Balancer or Gateway Load Balancer. The specified subnets replace the previously enabled subnets.
</p>
<p>
When you specify subnets for a Network Load Balancer, or Gateway Load Balancer you must include all subnets that
were enabled previously, with their existing configurations, plus any additional subnets.
</p>

@param setSubnetsRequest
@return Result of the SetSubnets operation returned by the service.
@throws LoadBalancerNotFoundException
        The specified load balancer does not exist.
@throws InvalidConfigurationRequestException
        The requested configuration is not valid.
@throws SubnetNotFoundException
        The specified subnet does not exist.
@throws InvalidSubnetException
        The specified subnet is out of available addresses.
@throws AllocationIdNotFoundException
        The specified allocation ID does not exist.
@throws AvailabilityZoneNotSupportedException
        The specified Availability Zone is not supported.
@sample AmazonElasticLoadBalancing.SetSubnets
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/SetSubnets"
     target="_top">AWS API Documentation</a>
aws-java-sdk-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/AmazonElasticLoadBalancingClient.java