@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplySecurityGroupsToLoadBalancerResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of ApplySecurityGroupsToLoadBalancer.
Constructor and Description |
---|
ApplySecurityGroupsToLoadBalancerResult() |
Modifier and Type | Method and Description |
---|---|
ApplySecurityGroupsToLoadBalancerResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getSecurityGroups()
The IDs of the security groups associated with the load balancer.
|
int |
hashCode() |
void |
setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups associated with the load balancer.
|
String |
toString()
Returns a string representation of this object.
|
ApplySecurityGroupsToLoadBalancerResult |
withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups associated with the load balancer.
|
ApplySecurityGroupsToLoadBalancerResult |
withSecurityGroups(String... securityGroups)
The IDs of the security groups associated with the load balancer.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ApplySecurityGroupsToLoadBalancerResult()
public List<String> getSecurityGroups()
The IDs of the security groups associated with the load balancer.
public void setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups associated with the load balancer.
securityGroups
- The IDs of the security groups associated with the load balancer.public ApplySecurityGroupsToLoadBalancerResult withSecurityGroups(String... securityGroups)
The IDs of the security groups associated with the load balancer.
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 associated with the load balancer.public ApplySecurityGroupsToLoadBalancerResult withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups associated with the load balancer.
securityGroups
- The IDs of the security groups associated with the load balancer.public String toString()
toString
in class Object
Object.toString()
public ApplySecurityGroupsToLoadBalancerResult clone()