@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetSecurityGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SetSecurityGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
SetSecurityGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
List<String> |
getSecurityGroups()
The IDs of the security groups.
|
int |
hashCode() |
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetSecurityGroupsRequest |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
SetSecurityGroupsRequest |
withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
|
SetSecurityGroupsRequest |
withSecurityGroups(String... securityGroups)
The IDs of the security groups.
|
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 void setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.public String getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
public SetSecurityGroupsRequest withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn
- The Amazon Resource Name (ARN) of the load balancer.public List<String> getSecurityGroups()
The IDs of the security groups.
public void setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
securityGroups
- The IDs of the security groups.public SetSecurityGroupsRequest withSecurityGroups(String... securityGroups)
The IDs of the security groups.
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.public SetSecurityGroupsRequest withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
securityGroups
- The IDs of the security groups.public String toString()
toString
in class Object
Object.toString()
public SetSecurityGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.