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