List of usage examples for com.amazonaws.services.elasticloadbalancing.model CreateAppCookieStickinessPolicyRequest getPolicyName
public String getPolicyName()
The name of the policy being created.
From source file:web.component.impl.aws.AWSELBImpl.java
@Override public CreateAppCookieStickinessPolicyResult createAppCookieStickinessPolicy( CreateAppCookieStickinessPolicyRequest request) { if (request.getLoadBalancerName() == null || request.getLoadBalancerName().isEmpty()) throw new IllegalArgumentException("Load balancer name not specified."); if (request.getPolicyName() == null || request.getPolicyName().isEmpty()) throw new IllegalArgumentException("Policy name not specified."); if (request.getCookieName() == null || request.getCookieName().isEmpty()) throw new IllegalArgumentException("Cookie name not specified."); return awsHttpClient.createAppCookieStickinessPolicy(request); }