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