@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetSecurityGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SetSecurityGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetSecurityGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic()
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink.
|
String |
getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
|
List<String> |
getSecurityGroups()
The IDs of the security groups.
|
int |
hashCode() |
void |
setEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(String enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink.
|
void |
setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
void |
setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
|
String |
toString()
Returns a string representation of this object.
|
SetSecurityGroupsRequest |
withEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink.
|
SetSecurityGroupsRequest |
withEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(String enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink.
|
SetSecurityGroupsRequest |
withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
|
SetSecurityGroupsRequest |
withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
|
SetSecurityGroupsRequest |
withSecurityGroups(String... securityGroups)
The IDs of the security groups.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.public String getLoadBalancerArn()
The Amazon Resource Name (ARN) of the load balancer.
public SetSecurityGroupsRequest withLoadBalancerArn(String loadBalancerArn)
The Amazon Resource Name (ARN) of the load balancer.
loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.public List<String> getSecurityGroups()
The IDs of the security groups.
public void setSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
securityGroups - The IDs of the security groups.public SetSecurityGroupsRequest withSecurityGroups(String... securityGroups)
The IDs of the security groups.
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.public SetSecurityGroupsRequest withSecurityGroups(Collection<String> securityGroups)
The IDs of the security groups.
securityGroups - The IDs of the security groups.public void setEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(String enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink. The default is on.
enforceSecurityGroupInboundRulesOnPrivateLinkTraffic - Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer
through Amazon Web Services PrivateLink. The default is on.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumpublic String getEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic()
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink. The default is on.
on.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumpublic SetSecurityGroupsRequest withEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(String enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink. The default is on.
enforceSecurityGroupInboundRulesOnPrivateLinkTraffic - Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer
through Amazon Web Services PrivateLink. The default is on.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumpublic SetSecurityGroupsRequest withEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic(EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum enforceSecurityGroupInboundRulesOnPrivateLinkTraffic)
Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer through
Amazon Web Services PrivateLink. The default is on.
enforceSecurityGroupInboundRulesOnPrivateLinkTraffic - Indicates whether to evaluate inbound security group rules for traffic sent to a Network Load Balancer
through Amazon Web Services PrivateLink. The default is on.EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnumpublic String toString()
toString in class ObjectObject.toString()public SetSecurityGroupsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()