JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticloadbalancingv2.model

Class SetSecurityGroupsRequest

    • Constructor Detail

      • SetSecurityGroupsRequest

        public SetSecurityGroupsRequest()
    • Method Detail

      • setLoadBalancerArn

        public void setLoadBalancerArn(String loadBalancerArn)

        The Amazon Resource Name (ARN) of the load balancer.

        Parameters:
        loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.
      • getLoadBalancerArn

        public String getLoadBalancerArn()

        The Amazon Resource Name (ARN) of the load balancer.

        Returns:
        The Amazon Resource Name (ARN) of the load balancer.
      • withLoadBalancerArn

        public SetSecurityGroupsRequest withLoadBalancerArn(String loadBalancerArn)

        The Amazon Resource Name (ARN) of the load balancer.

        Parameters:
        loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getSecurityGroups

        public List<String> getSecurityGroups()

        The IDs of the security groups.

        Returns:
        The IDs of the security groups.
      • setSecurityGroups

        public void setSecurityGroups(Collection<String> securityGroups)

        The IDs of the security groups.

        Parameters:
        securityGroups - The IDs of the security groups.
      • withSecurityGroups

        public SetSecurityGroupsRequest withSecurityGroups(Collection<String> securityGroups)

        The IDs of the security groups.

        Parameters:
        securityGroups - The IDs of the security groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        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.

        Parameters:
        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.
        See Also:
        EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
      • getEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        public 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.

        Returns:
        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.
        See Also:
        EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
      • withEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        public 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
      • withEnforceSecurityGroupInboundRulesOnPrivateLinkTraffic

        public 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /