Class CfnDataSource.OAuthParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSource.OAuthParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.OAuthParametersProperty>
- Enclosing interface:
CfnDataSource.OAuthParametersProperty
@Stability(Stable)
public static final class CfnDataSource.OAuthParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.OAuthParametersProperty>
A builder for
CfnDataSource.OAuthParametersProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.identityProviderResourceUri(String identityProviderResourceUri) Sets the value ofCfnDataSource.OAuthParametersProperty.getIdentityProviderResourceUri()identityProviderVpcConnectionProperties(IResolvable identityProviderVpcConnectionProperties) identityProviderVpcConnectionProperties(CfnDataSource.VpcConnectionPropertiesProperty identityProviderVpcConnectionProperties) oAuthScope(String oAuthScope) Sets the value ofCfnDataSource.OAuthParametersProperty.getOAuthScope()tokenProviderUrl(String tokenProviderUrl) Sets the value ofCfnDataSource.OAuthParametersProperty.getTokenProviderUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tokenProviderUrl
@Stability(Stable) public CfnDataSource.OAuthParametersProperty.Builder tokenProviderUrl(String tokenProviderUrl) Sets the value ofCfnDataSource.OAuthParametersProperty.getTokenProviderUrl()- Parameters:
tokenProviderUrl- The token endpoint URL of the identity provider. This parameter is required.- Returns:
this
-
identityProviderResourceUri
@Stability(Stable) public CfnDataSource.OAuthParametersProperty.Builder identityProviderResourceUri(String identityProviderResourceUri) Sets the value ofCfnDataSource.OAuthParametersProperty.getIdentityProviderResourceUri()- Parameters:
identityProviderResourceUri- The resource uri of the identity provider.- Returns:
this
-
identityProviderVpcConnectionProperties
@Stability(Stable) public CfnDataSource.OAuthParametersProperty.Builder identityProviderVpcConnectionProperties(IResolvable identityProviderVpcConnectionProperties) Sets the value ofCfnDataSource.OAuthParametersProperty.getIdentityProviderVpcConnectionProperties()- Parameters:
identityProviderVpcConnectionProperties-VPC connection properties.
.- Returns:
this
-
identityProviderVpcConnectionProperties
@Stability(Stable) public CfnDataSource.OAuthParametersProperty.Builder identityProviderVpcConnectionProperties(CfnDataSource.VpcConnectionPropertiesProperty identityProviderVpcConnectionProperties) Sets the value ofCfnDataSource.OAuthParametersProperty.getIdentityProviderVpcConnectionProperties()- Parameters:
identityProviderVpcConnectionProperties-VPC connection properties.
.- Returns:
this
-
oAuthScope
@Stability(Stable) public CfnDataSource.OAuthParametersProperty.Builder oAuthScope(String oAuthScope) Sets the value ofCfnDataSource.OAuthParametersProperty.getOAuthScope()- Parameters:
oAuthScope- The OAuth scope.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.OAuthParametersProperty>- Returns:
- a new instance of
CfnDataSource.OAuthParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-