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