|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticloadbalancing.model.ApplySecurityGroupsToLoadBalancerRequest
public class ApplySecurityGroupsToLoadBalancerRequest
Container for the parameters to the ApplySecurityGroupsToLoadBalancer operation
.
Associates one or more security groups with your LoadBalancer in VPC. The provided security group IDs will override any currently applied security groups.
AmazonElasticLoadBalancing.applySecurityGroupsToLoadBalancer(ApplySecurityGroupsToLoadBalancerRequest)
Constructor Summary | |
---|---|
ApplySecurityGroupsToLoadBalancerRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getLoadBalancerName()
The name associated with the LoadBalancer. |
List<String> |
getSecurityGroups()
A list of security group IDs to associate with your LoadBalancer in VPC. |
int |
hashCode()
|
void |
setLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. |
void |
setSecurityGroups(Collection<String> securityGroups)
A list of security group IDs to associate with your LoadBalancer in VPC. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ApplySecurityGroupsToLoadBalancerRequest |
withLoadBalancerName(String loadBalancerName)
The name associated with the LoadBalancer. |
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(Collection<String> securityGroups)
A list of security group IDs to associate with your LoadBalancer in VPC. |
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(String... securityGroups)
A list of security group IDs to associate with your LoadBalancer in VPC. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApplySecurityGroupsToLoadBalancerRequest()
Method Detail |
---|
public String getLoadBalancerName()
public void setLoadBalancerName(String loadBalancerName)
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.public ApplySecurityGroupsToLoadBalancerRequest withLoadBalancerName(String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name associated with the LoadBalancer. The name must be unique
within the client AWS account.
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- A list of security group IDs to associate with your LoadBalancer in
VPC. The security group IDs must be provided as the ID and not the
security group name (For example, sg-1234).public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(String... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- A list of security group IDs to associate with your LoadBalancer in
VPC. The security group IDs must be provided as the ID and not the
security group name (For example, sg-1234).
public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(Collection<String> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- A list of security group IDs to associate with your LoadBalancer in
VPC. The security group IDs must be provided as the ID and not the
security group name (For example, sg-1234).
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |