Class CfnListener.ListenerAttributeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.elasticloadbalancingv2.CfnListener.ListenerAttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnListener.ListenerAttributeProperty>
- Enclosing interface:
CfnListener.ListenerAttributeProperty
@Stability(Stable)
public static final class CfnListener.ListenerAttributeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnListener.ListenerAttributeProperty>
A builder for
CfnListener.ListenerAttributeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnListener.ListenerAttributeProperty.getKey()Sets the value ofCfnListener.ListenerAttributeProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnListener.ListenerAttributeProperty.getKey()- Parameters:
key- The name of the attribute. The following attribute is supported by Network Load Balancers, and Gateway Load Balancers.tcp.idle_timeout.seconds- The tcp idle timeout value, in seconds. The valid range is 60-6000 seconds. The default is 350 seconds.
- Returns:
this
-
value
Sets the value ofCfnListener.ListenerAttributeProperty.getValue()- Parameters:
value- The value of the attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnListener.ListenerAttributeProperty>- Returns:
- a new instance of
CfnListener.ListenerAttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-