Class CreateLbCookieStickinessPolicyRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.elasticloadbalancing.model.ElasticLoadBalancingRequest
software.amazon.awssdk.services.elasticloadbalancing.model.CreateLbCookieStickinessPolicyRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateLbCookieStickinessPolicyRequest.Builder,CreateLbCookieStickinessPolicyRequest>
@Generated("software.amazon.awssdk:codegen")
public final class CreateLbCookieStickinessPolicyRequest
extends ElasticLoadBalancingRequest
implements ToCopyableBuilder<CreateLbCookieStickinessPolicyRequest.Builder,CreateLbCookieStickinessPolicyRequest>
Contains the parameters for CreateLBCookieStickinessPolicy.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final LongThe time period, in seconds, after which the cookie should be considered stale.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe name of the load balancer.final StringThe name of the policy being created.static Class<? extends CreateLbCookieStickinessPolicyRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
loadBalancerName
The name of the load balancer.
- Returns:
- The name of the load balancer.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateLbCookieStickinessPolicyRequest.Builder,CreateLbCookieStickinessPolicyRequest> - Specified by:
toBuilderin classElasticLoadBalancingRequest
-
builder
-
serializableBuilderClass
public static Class<? extends CreateLbCookieStickinessPolicyRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-