Class FromOauthIdentityOptions.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.FromOauthIdentityOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FromOauthIdentityOptions>
- Enclosing interface:
FromOauthIdentityOptions
@Stability(Stable)
public static final class FromOauthIdentityOptions.Builder
extends Object
implements software.amazon.jsii.Builder<FromOauthIdentityOptions>
A builder for
FromOauthIdentityOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customParameters(Map<String, String> customParameters) Sets the value ofFromOauthIdentityOptions.getCustomParameters()Sets the value ofFromOauthIdentityOptions.getScopes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scopes
Sets the value ofFromOauthIdentityOptions.getScopes()- Parameters:
scopes- OAuth scopes the gateway should request for this target. This parameter is required.- Returns:
this
-
customParameters
@Stability(Stable) public FromOauthIdentityOptions.Builder customParameters(Map<String, String> customParameters) Sets the value ofFromOauthIdentityOptions.getCustomParameters()- Parameters:
customParameters- Additional OAuth parameters for the provider.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FromOauthIdentityOptions>- Returns:
- a new instance of
FromOauthIdentityOptions - Throws:
NullPointerException- if any required attribute was not provided
-