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