Class CfnGatewayProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayProps>
- Enclosing interface:
CfnGatewayProps
@Stability(Stable)
public static final class CfnGatewayProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayProps>
A builder for
CfnGatewayProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizerConfiguration(IResolvable authorizerConfiguration) Sets the value ofCfnGatewayProps.getAuthorizerConfiguration()authorizerConfiguration(CfnGateway.AuthorizerConfigurationProperty authorizerConfiguration) Sets the value ofCfnGatewayProps.getAuthorizerConfiguration()authorizerType(String authorizerType) Sets the value ofCfnGatewayProps.getAuthorizerType()build()Builds the configured instance.description(String description) Sets the value ofCfnGatewayProps.getDescription()exceptionLevel(String exceptionLevel) Sets the value ofCfnGatewayProps.getExceptionLevel()Sets the value ofCfnGatewayProps.getKmsKeyArn()Sets the value ofCfnGatewayProps.getName()protocolConfiguration(IResolvable protocolConfiguration) Sets the value ofCfnGatewayProps.getProtocolConfiguration()protocolConfiguration(CfnGateway.GatewayProtocolConfigurationProperty protocolConfiguration) Sets the value ofCfnGatewayProps.getProtocolConfiguration()protocolType(String protocolType) Sets the value ofCfnGatewayProps.getProtocolType()Sets the value ofCfnGatewayProps.getRoleArn()Sets the value ofCfnGatewayProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizerType
Sets the value ofCfnGatewayProps.getAuthorizerType()- Parameters:
authorizerType- The authorizer type for the gateway. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnGatewayProps.getName()- Parameters:
name- The name for the gateway. This parameter is required.- Returns:
this
-
protocolType
Sets the value ofCfnGatewayProps.getProtocolType()- Parameters:
protocolType- The protocol type for the gateway target. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCfnGatewayProps.getRoleArn()- Parameters:
roleArn- the value to be set. This parameter is required.- Returns:
this
-
authorizerConfiguration
@Stability(Stable) public CfnGatewayProps.Builder authorizerConfiguration(IResolvable authorizerConfiguration) Sets the value ofCfnGatewayProps.getAuthorizerConfiguration()- Parameters:
authorizerConfiguration- the value to be set.- Returns:
this
-
authorizerConfiguration
@Stability(Stable) public CfnGatewayProps.Builder authorizerConfiguration(CfnGateway.AuthorizerConfigurationProperty authorizerConfiguration) Sets the value ofCfnGatewayProps.getAuthorizerConfiguration()- Parameters:
authorizerConfiguration- the value to be set.- Returns:
this
-
description
Sets the value ofCfnGatewayProps.getDescription()- Parameters:
description- The description for the gateway.- Returns:
this
-
exceptionLevel
Sets the value ofCfnGatewayProps.getExceptionLevel()- Parameters:
exceptionLevel- The exception level for the gateway.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnGatewayProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The KMS key ARN for the gateway.- Returns:
this
-
protocolConfiguration
@Stability(Stable) public CfnGatewayProps.Builder protocolConfiguration(IResolvable protocolConfiguration) Sets the value ofCfnGatewayProps.getProtocolConfiguration()- Parameters:
protocolConfiguration- The protocol configuration for the gateway target.- Returns:
this
-
protocolConfiguration
@Stability(Stable) public CfnGatewayProps.Builder protocolConfiguration(CfnGateway.GatewayProtocolConfigurationProperty protocolConfiguration) Sets the value ofCfnGatewayProps.getProtocolConfiguration()- Parameters:
protocolConfiguration- The protocol configuration for the gateway target.- Returns:
this
-
tags
Sets the value ofCfnGatewayProps.getTags()- Parameters:
tags- The tags for the gateway.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayProps>- Returns:
- a new instance of
CfnGatewayProps - Throws:
NullPointerException- if any required attribute was not provided
-