List of usage examples for com.amazonaws.services.elasticloadbalancing.model AttachLoadBalancerToSubnetsRequest getSubnets
public java.util.List<String> getSubnets()
The IDs of the subnets to add.
From source file:web.component.impl.aws.AWSELBImpl.java
@Override public AttachLoadBalancerToSubnetsResult attachLoadBalancerToSubnets( AttachLoadBalancerToSubnetsRequest request) { if (request == null) throw new IllegalArgumentException("Invalid Request."); if (request.getLoadBalancerName() == null || request.getLoadBalancerName().isEmpty()) throw new IllegalArgumentException("Load Balancer Name not specified."); if (request.getSubnets() == null || request.getSubnets().isEmpty()) throw new IllegalArgumentException("Subnets not specified."); return awsHttpClient.attachLoadBalancerToSubnets(request); }