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.elasticloadbalancing.model

Class LoadBalancerAttributes

    • Constructor Detail

      • LoadBalancerAttributes

        public LoadBalancerAttributes()
    • Method Detail

      • setCrossZoneLoadBalancing

        public void setCrossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing)

        If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.

        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.

        Parameters:
        crossZoneLoadBalancing - If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.

        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.

      • getCrossZoneLoadBalancing

        public CrossZoneLoadBalancing getCrossZoneLoadBalancing()

        If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.

        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.

        Returns:
        If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.

        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.

      • withCrossZoneLoadBalancing

        public LoadBalancerAttributes withCrossZoneLoadBalancing(CrossZoneLoadBalancing crossZoneLoadBalancing)

        If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.

        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.

        Parameters:
        crossZoneLoadBalancing - If enabled, the load balancer routes the request traffic evenly across all instances regardless of the Availability Zones.

        For more information, see Configure Cross-Zone Load Balancing in the Classic Load Balancers Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAccessLog

        public void setAccessLog(AccessLog accessLog)

        If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.

        For more information, see Enable Access Logs in the Classic Load Balancers Guide.

        Parameters:
        accessLog - If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.

        For more information, see Enable Access Logs in the Classic Load Balancers Guide.

      • getAccessLog

        public AccessLog getAccessLog()

        If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.

        For more information, see Enable Access Logs in the Classic Load Balancers Guide.

        Returns:
        If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.

        For more information, see Enable Access Logs in the Classic Load Balancers Guide.

      • withAccessLog

        public LoadBalancerAttributes withAccessLog(AccessLog accessLog)

        If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.

        For more information, see Enable Access Logs in the Classic Load Balancers Guide.

        Parameters:
        accessLog - If enabled, the load balancer captures detailed information of all requests and delivers the information to the Amazon S3 bucket that you specify.

        For more information, see Enable Access Logs in the Classic Load Balancers Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConnectionDraining

        public void setConnectionDraining(ConnectionDraining connectionDraining)

        If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.

        For more information, see Configure Connection Draining in the Classic Load Balancers Guide.

        Parameters:
        connectionDraining - If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.

        For more information, see Configure Connection Draining in the Classic Load Balancers Guide.

      • getConnectionDraining

        public ConnectionDraining getConnectionDraining()

        If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.

        For more information, see Configure Connection Draining in the Classic Load Balancers Guide.

        Returns:
        If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.

        For more information, see Configure Connection Draining in the Classic Load Balancers Guide.

      • withConnectionDraining

        public LoadBalancerAttributes withConnectionDraining(ConnectionDraining connectionDraining)

        If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.

        For more information, see Configure Connection Draining in the Classic Load Balancers Guide.

        Parameters:
        connectionDraining - If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy instance.

        For more information, see Configure Connection Draining in the Classic Load Balancers Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConnectionSettings

        public void setConnectionSettings(ConnectionSettings connectionSettings)

        If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.

        By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.

        Parameters:
        connectionSettings - If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.

        By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.

      • getConnectionSettings

        public ConnectionSettings getConnectionSettings()

        If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.

        By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.

        Returns:
        If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.

        By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.

      • withConnectionSettings

        public LoadBalancerAttributes withConnectionSettings(ConnectionSettings connectionSettings)

        If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.

        By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.

        Parameters:
        connectionSettings - If enabled, the load balancer allows the connections to remain idle (no data is sent over the connection) for the specified duration.

        By default, Elastic Load Balancing maintains a 60-second idle connection timeout for both front-end and back-end connections of your load balancer. For more information, see Configure Idle Connection Timeout in the Classic Load Balancers Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAdditionalAttributes

        public List<AdditionalAttribute> getAdditionalAttributes()

        Any additional attributes.

        Returns:
        Any additional attributes.
      • setAdditionalAttributes

        public void setAdditionalAttributes(Collection<AdditionalAttribute> additionalAttributes)

        Any additional attributes.

        Parameters:
        additionalAttributes - Any additional attributes.
      • withAdditionalAttributes

        public LoadBalancerAttributes withAdditionalAttributes(Collection<AdditionalAttribute> additionalAttributes)

        Any additional attributes.

        Parameters:
        additionalAttributes - Any additional attributes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /