public class ApplySecurityGroupsToLoadBalancerRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
ApplySecurityGroupsToLoadBalancerRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLoadBalancerName()
The name associated with the LoadBalancer.
|
java.util.List<java.lang.String> |
getSecurityGroups()
A list of security group IDs to associate with your LoadBalancer in
VPC.
|
int |
hashCode() |
void |
setLoadBalancerName(java.lang.String loadBalancerName)
The name associated with the LoadBalancer.
|
void |
setSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
A list of security group IDs to associate with your LoadBalancer 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 LoadBalancer.
|
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(java.util.Collection<java.lang.String> securityGroups)
A list of security group IDs to associate with your LoadBalancer in
VPC.
|
ApplySecurityGroupsToLoadBalancerRequest |
withSecurityGroups(java.lang.String... securityGroups)
A list of security group IDs to associate with your LoadBalancer in
VPC.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic ApplySecurityGroupsToLoadBalancerRequest()
public java.lang.String getLoadBalancerName()
public void setLoadBalancerName(java.lang.String loadBalancerName)
loadBalancerName - The name associated with the LoadBalancer. The name must be unique
within the client 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 LoadBalancer. The name must be unique
within the client 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 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(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 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(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 LoadBalancer 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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object