Class CfnGatewayRuleProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayRuleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRuleProps>
- Enclosing interface:
CfnGatewayRuleProps
@Stability(Stable)
public static final class CfnGatewayRuleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRuleProps>
A builder for
CfnGatewayRuleProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnGatewayRuleProps.getActions()actions(IResolvable actions) Sets the value ofCfnGatewayRuleProps.getActions()build()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnGatewayRuleProps.getConditions()conditions(IResolvable conditions) Sets the value ofCfnGatewayRuleProps.getConditions()description(String description) Sets the value ofCfnGatewayRuleProps.getDescription()gatewayIdentifier(String gatewayIdentifier) Sets the value ofCfnGatewayRuleProps.getGatewayIdentifier()Sets the value ofCfnGatewayRuleProps.getPriority()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnGatewayRuleProps.getActions()- Parameters:
actions- the value to be set. This parameter is required.- Returns:
this
-
actions
Sets the value ofCfnGatewayRuleProps.getActions()- Parameters:
actions- the value to be set. This parameter is required.- Returns:
this
-
priority
Sets the value ofCfnGatewayRuleProps.getPriority()- Parameters:
priority- the value to be set. This parameter is required.- Returns:
this
-
conditions
Sets the value ofCfnGatewayRuleProps.getConditions()- Parameters:
conditions- the value to be set.- Returns:
this
-
conditions
Sets the value ofCfnGatewayRuleProps.getConditions()- Parameters:
conditions- the value to be set.- Returns:
this
-
description
Sets the value ofCfnGatewayRuleProps.getDescription()- Parameters:
description- the value to be set.- Returns:
this
-
gatewayIdentifier
Sets the value ofCfnGatewayRuleProps.getGatewayIdentifier()- Parameters:
gatewayIdentifier- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRuleProps>- Returns:
- a new instance of
CfnGatewayRuleProps - Throws:
NullPointerException- if any required attribute was not provided
-