@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplySecurityGroupsToLoadBalancerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for ApplySecurityGroupsToLoadBalancer.
NOOP
Constructor and Description |
---|
ApplySecurityGroupsToLoadBalancerRequest() |
Modifier and Type | Method and Description |
---|---|
ApplySecurityGroupsToLoadBalancerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLoadBalancerName()
The name of the load balancer.
|
List<String> |
getSecurityGroups()
The IDs of the security groups to associate with the load balancer.
|
int |
hashCode() |
void |
setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups to associate with the load balancer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ApplySecurityGroupsToLoadBalancerRequest |
withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
|
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups to associate with the load balancer.
|
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(String... securityGroups)
The IDs of the security groups to associate with the load balancer.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ApplySecurityGroupsToLoadBalancerRequest()
public void setLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public String getLoadBalancerName()
The name of the load balancer.
public ApplySecurityGroupsToLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
The name of the load balancer.
loadBalancerName
- The name of the load balancer.public List<String> getSecurityGroups()
The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.
public void setSecurityGroups(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.public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(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.public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(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.public String toString()
toString
in class Object
Object.toString()
public ApplySecurityGroupsToLoadBalancerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.