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