CopyableBuilder<ApplySecurityGroupsToLoadBalancerRequest.Builder,ApplySecurityGroupsToLoadBalancerRequest>
, SdkBuilder<ApplySecurityGroupsToLoadBalancerRequest.Builder,ApplySecurityGroupsToLoadBalancerRequest>
public static interface ApplySecurityGroupsToLoadBalancerRequest.Builder extends CopyableBuilder<ApplySecurityGroupsToLoadBalancerRequest.Builder,ApplySecurityGroupsToLoadBalancerRequest>
Modifier and Type | Method | Description |
---|---|---|
ApplySecurityGroupsToLoadBalancerRequest.Builder |
loadBalancerName(String loadBalancerName) |
The name of the load balancer.
|
ApplySecurityGroupsToLoadBalancerRequest.Builder |
securityGroups(String... securityGroups) |
The IDs of the security groups to associate with the load balancer.
|
ApplySecurityGroupsToLoadBalancerRequest.Builder |
securityGroups(Collection<String> securityGroups) |
The IDs of the security groups to associate with the load balancer.
|
copy
apply, build
ApplySecurityGroupsToLoadBalancerRequest.Builder loadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.ApplySecurityGroupsToLoadBalancerRequest.Builder securityGroups(Collection<String> securityGroups)
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
securityGroups
- The IDs of the security groups to associate with the load balancer. Note that you cannot specify the
name of the security group.ApplySecurityGroupsToLoadBalancerRequest.Builder securityGroups(String... securityGroups)
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
NOTE: This method appends the values to the existing list (if any). Use
#setSecurityGroups(java.util.Collection)
or #withSecurityGroups(java.util.Collection)
if you
want to override the existing values.
securityGroups
- The IDs of the security groups to associate with the load balancer. Note that you cannot specify the
name of the security group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.