Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateLBCookieStickinessPolicyRequest.Builder,CreateLBCookieStickinessPolicyRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateLBCookieStickinessPolicyRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateLBCookieStickinessPolicyRequest.Builder,CreateLBCookieStickinessPolicyRequest>
Contains the parameters for CreateLBCookieStickinessPolicy.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateLBCookieStickinessPolicyRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreateLBCookieStickinessPolicyRequest.Builder |
builder() |
|
Long |
cookieExpirationPeriod() |
The time period, in seconds, after which the cookie should be considered stale.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
loadBalancerName() |
The name of the load balancer.
|
String |
policyName() |
The name of the policy being created.
|
static Class<? extends CreateLBCookieStickinessPolicyRequest.Builder> |
serializableBuilderClass() |
|
CreateLBCookieStickinessPolicyRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String loadBalancerName()
The name of the load balancer.
public String policyName()
The name of the policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
public Long cookieExpirationPeriod()
The time period, in seconds, after which the cookie should be considered stale. If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.
public CreateLBCookieStickinessPolicyRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateLBCookieStickinessPolicyRequest.Builder,CreateLBCookieStickinessPolicyRequest>
public static CreateLBCookieStickinessPolicyRequest.Builder builder()
public static Class<? extends CreateLBCookieStickinessPolicyRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.