Class IncludedOauth2TenantEndpoints.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.IncludedOauth2TenantEndpoints.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IncludedOauth2TenantEndpoints>
- Enclosing interface:
IncludedOauth2TenantEndpoints
@Stability(Stable)
public static final class IncludedOauth2TenantEndpoints.Builder
extends Object
implements software.amazon.jsii.Builder<IncludedOauth2TenantEndpoints>
A builder for
IncludedOauth2TenantEndpoints-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationEndpoint(String authorizationEndpoint) Sets the value ofIncludedOauth2TenantEndpoints.getAuthorizationEndpoint()build()Builds the configured instance.Sets the value ofIncludedOauth2TenantEndpoints.getIssuer()tokenEndpoint(String tokenEndpoint) Sets the value ofIncludedOauth2TenantEndpoints.getTokenEndpoint()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationEndpoint
@Stability(Stable) public IncludedOauth2TenantEndpoints.Builder authorizationEndpoint(String authorizationEndpoint) Sets the value ofIncludedOauth2TenantEndpoints.getAuthorizationEndpoint()- Parameters:
authorizationEndpoint- OAuth2 authorization endpoint for your tenant.- Returns:
this
-
issuer
Sets the value ofIncludedOauth2TenantEndpoints.getIssuer()- Parameters:
issuer- Token issuer URL for your tenant (often the IdP base or issuer URI).- Returns:
this
-
tokenEndpoint
Sets the value ofIncludedOauth2TenantEndpoints.getTokenEndpoint()- Parameters:
tokenEndpoint- OAuth2 token endpoint for your tenant.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IncludedOauth2TenantEndpoints>- Returns:
- a new instance of
IncludedOauth2TenantEndpoints - Throws:
NullPointerException- if any required attribute was not provided
-