public class ApplySecurityGroupsToLoadBalancerResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
securityGroups
The IDs of the security groups associated with the load balancer.
|
Constructor and Description |
---|
ApplySecurityGroupsToLoadBalancerResult() |
Modifier and Type | Method and Description |
---|---|
ApplySecurityGroupsToLoadBalancerResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getSecurityGroups()
The IDs of the security groups associated with the load balancer.
|
int |
hashCode() |
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The IDs of the security groups associated with the load balancer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ApplySecurityGroupsToLoadBalancerResult |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
The IDs of the security groups associated with the load balancer.
|
ApplySecurityGroupsToLoadBalancerResult |
withSecurityGroups(java.lang.String... securityGroups)
The IDs of the security groups associated with the load balancer.
|
private SdkInternalList<java.lang.String> securityGroups
The IDs of the security groups associated with the load balancer.
public ApplySecurityGroupsToLoadBalancerResult()
public java.util.List<java.lang.String> getSecurityGroups()
The IDs of the security groups associated with the load balancer.
public void setSecurityGroups(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ApplySecurityGroupsToLoadBalancerResult clone()
clone
in class java.lang.Object