Class CfnGatewayRule.ConditionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayRule.ConditionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayRule.ConditionProperty>
- Enclosing interface:
CfnGatewayRule.ConditionProperty
@Stability(Stable)
public static final class CfnGatewayRule.ConditionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayRule.ConditionProperty>
A builder for
CfnGatewayRule.ConditionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchPaths(IResolvable matchPaths) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPaths()matchPaths(CfnGatewayRule.MatchPathsProperty matchPaths) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPaths()matchPrincipals(IResolvable matchPrincipals) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPrincipals()matchPrincipals(CfnGatewayRule.MatchPrincipalsProperty matchPrincipals) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPrincipals()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchPaths
@Stability(Stable) public CfnGatewayRule.ConditionProperty.Builder matchPaths(IResolvable matchPaths) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPaths()- Parameters:
matchPaths- the value to be set.- Returns:
this
-
matchPaths
@Stability(Stable) public CfnGatewayRule.ConditionProperty.Builder matchPaths(CfnGatewayRule.MatchPathsProperty matchPaths) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPaths()- Parameters:
matchPaths- the value to be set.- Returns:
this
-
matchPrincipals
@Stability(Stable) public CfnGatewayRule.ConditionProperty.Builder matchPrincipals(IResolvable matchPrincipals) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPrincipals()- Parameters:
matchPrincipals- the value to be set.- Returns:
this
-
matchPrincipals
@Stability(Stable) public CfnGatewayRule.ConditionProperty.Builder matchPrincipals(CfnGatewayRule.MatchPrincipalsProperty matchPrincipals) Sets the value ofCfnGatewayRule.ConditionProperty.getMatchPrincipals()- Parameters:
matchPrincipals- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayRule.ConditionProperty>- Returns:
- a new instance of
CfnGatewayRule.ConditionProperty - Throws:
NullPointerException- if any required attribute was not provided
-