Class CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHarnessPropsMixin.OAuthCredentialProviderProperty>
- Enclosing interface:
CfnHarnessPropsMixin.OAuthCredentialProviderProperty
@Stability(Stable)
public static final class CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHarnessPropsMixin.OAuthCredentialProviderProperty>
A builder for
CfnHarnessPropsMixin.OAuthCredentialProviderProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customParameters(Map<String, String> customParameters) customParameters(IResolvable customParameters) defaultReturnUrl(String defaultReturnUrl) Sets the value ofCfnHarnessPropsMixin.OAuthCredentialProviderProperty.getGrantType()providerArn(String providerArn) Sets the value ofCfnHarnessPropsMixin.OAuthCredentialProviderProperty.getProviderArn()Sets the value ofCfnHarnessPropsMixin.OAuthCredentialProviderProperty.getScopes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customParameters
@Stability(Stable) public CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder customParameters(IResolvable customParameters) - Parameters:
customParameters- the value to be set.- Returns:
this
-
customParameters
@Stability(Stable) public CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder customParameters(Map<String, String> customParameters) - Parameters:
customParameters- the value to be set.- Returns:
this
-
defaultReturnUrl
@Stability(Stable) public CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder defaultReturnUrl(String defaultReturnUrl) - Parameters:
defaultReturnUrl- the value to be set.- Returns:
this
-
grantType
@Stability(Stable) public CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder grantType(String grantType) Sets the value ofCfnHarnessPropsMixin.OAuthCredentialProviderProperty.getGrantType()- Parameters:
grantType- the value to be set.- Returns:
this
-
providerArn
@Stability(Stable) public CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder providerArn(String providerArn) Sets the value ofCfnHarnessPropsMixin.OAuthCredentialProviderProperty.getProviderArn()- Parameters:
providerArn- the value to be set.- Returns:
this
-
scopes
@Stability(Stable) public CfnHarnessPropsMixin.OAuthCredentialProviderProperty.Builder scopes(List<String> scopes) Sets the value ofCfnHarnessPropsMixin.OAuthCredentialProviderProperty.getScopes()- Parameters:
scopes- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHarnessPropsMixin.OAuthCredentialProviderProperty>- Returns:
- a new instance of
CfnHarnessPropsMixin.OAuthCredentialProviderProperty - Throws:
NullPointerException- if any required attribute was not provided
-