|
|||||||
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 load balancer in Amazon Virtual Private Cloud (Amazon VPC). The provided security group IDs will override any currently applied security groups.
For more information, see Manage Security Groups in Amazon VPC in the Elastic Load Balancing Developer Guide .
AmazonElasticLoadBalancing.applySecurityGroupsToLoadBalancer(ApplySecurityGroupsToLoadBalancerRequest)
,
Serialized FormConstructor Summary | |
---|---|
ApplySecurityGroupsToLoadBalancerRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getLoadBalancerName()
The name associated with the load balancer. |
java.util.List<java.lang.String> |
getSecurityGroups()
A list of security group IDs to associate with your load balancer in VPC. |
int |
hashCode()
|
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the load balancer. |
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
A list of security group IDs to associate with your load balancer in VPC. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ApplySecurityGroupsToLoadBalancerRequest |
withLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the load balancer. |
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
A list of security group IDs to associate with your load balancer in VPC. |
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(java.lang.String... securityGroups)
A list of security group IDs to associate with your load balancer in VPC. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApplySecurityGroupsToLoadBalancerRequest()
Method Detail |
---|
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName
- The name associated with the load balancer. The name must be unique
within the set of load balancers associated with your AWS account.public ApplySecurityGroupsToLoadBalancerRequest withLoadBalancerName(java.lang.String loadBalancerName)
Returns a reference to this object so that method calls can be chained together.
loadBalancerName
- The name associated with the load balancer. The name must be unique
within the set of load balancers associated with your AWS account.
public java.util.List<java.lang.String> getSecurityGroups()
public void setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
securityGroups
- A list of security group IDs to associate with your load balancer 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(java.lang.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 load balancer 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(java.util.Collection<java.lang.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 load balancer in
VPC. The security group IDs must be provided as the ID and not the
security group name (For example, sg-1234).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |