@Override
    public SetLoadBalancerPoliciesOfListenerResult setLoadBalancerPoliciesOfListener(SetLoadBalancerPoliciesOfListenerRequest request) {
        request = beforeClientExecution(request);
        return executeSetLoadBalancerPoliciesOfListener(request);
    }
<p>
Replaces the current set of policies for the specified load balancer port with the specified set of policies.
</p>
<p>
To enable back-end server authentication, use <a>SetLoadBalancerPoliciesForBackendServer</a>.
</p>
<p>
For more information about setting policies, see <a
href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/ssl-config-update.html">Update the SSL
Negotiation Configuration</a>, <a href=
"https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-duration"
>Duration-Based Session Stickiness</a>, and <a href=
"https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application"
>Application-Controlled Session Stickiness</a> in the <i>Classic Load Balancers Guide</i>.
</p>

@param setLoadBalancerPoliciesOfListenerRequest
       Contains the parameters for SetLoadBalancePoliciesOfListener.
@return Result of the SetLoadBalancerPoliciesOfListener operation returned by the service.
@throws LoadBalancerNotFoundException
        The specified load balancer does not exist.
@throws PolicyNotFoundException
        One or more of the specified policies do not exist.
@throws ListenerNotFoundException
        The load balancer does not have a listener configured at the specified port.
@throws InvalidConfigurationRequestException
        The requested configuration change is not valid.
@sample AmazonElasticLoadBalancing.SetLoadBalancerPoliciesOfListener
@see <a
     href="http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/SetLoadBalancerPoliciesOfListener"
     target="_top">AWS API Documentation</a>
aws-java-sdk-elasticloadbalancing/src/main/java/com/amazonaws/services/elasticloadbalancing/AmazonElasticLoadBalancingClient.java