Class CfnGatewayTarget.StickinessConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.StickinessConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.StickinessConfigurationProperty>
- Enclosing interface:
CfnGatewayTarget.StickinessConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTarget.StickinessConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.StickinessConfigurationProperty>
A builder for
CfnGatewayTarget.StickinessConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identifier(String identifier) Sets the value ofCfnGatewayTarget.StickinessConfigurationProperty.getIdentifier()Sets the value ofCfnGatewayTarget.StickinessConfigurationProperty.getTimeout()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
identifier
@Stability(Stable) public CfnGatewayTarget.StickinessConfigurationProperty.Builder identifier(String identifier) Sets the value ofCfnGatewayTarget.StickinessConfigurationProperty.getIdentifier()- Parameters:
identifier- the value to be set. This parameter is required.- Returns:
this
-
timeout
@Stability(Stable) public CfnGatewayTarget.StickinessConfigurationProperty.Builder timeout(Number timeout) Sets the value ofCfnGatewayTarget.StickinessConfigurationProperty.getTimeout()- Parameters:
timeout- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.StickinessConfigurationProperty>- Returns:
- a new instance of
CfnGatewayTarget.StickinessConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-