@Stability(value=Experimental) public static final class UserPoolResourceServerProps.Builder extends Object implements software.amazon.jsii.Builder<UserPoolResourceServerProps>
UserPoolResourceServerProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UserPoolResourceServerProps |
build()
Builds the configured instance.
|
UserPoolResourceServerProps.Builder |
identifier(String identifier)
Sets the value of
UserPoolResourceServerOptions.getIdentifier() |
UserPoolResourceServerProps.Builder |
scopes(List<? extends ResourceServerScope> scopes)
Sets the value of
UserPoolResourceServerOptions.getScopes() |
UserPoolResourceServerProps.Builder |
userPool(IUserPool userPool)
Sets the value of
UserPoolResourceServerProps.getUserPool() |
UserPoolResourceServerProps.Builder |
userPoolResourceServerName(String userPoolResourceServerName)
Sets the value of
UserPoolResourceServerOptions.getUserPoolResourceServerName() |
@Stability(value=Experimental) public UserPoolResourceServerProps.Builder userPool(IUserPool userPool)
UserPoolResourceServerProps.getUserPool()userPool - The user pool to add this resource server to. This parameter is required.this@Stability(value=Experimental) public UserPoolResourceServerProps.Builder identifier(String identifier)
UserPoolResourceServerOptions.getIdentifier()identifier - A unique resource server identifier for the resource server. This parameter is required.this@Stability(value=Experimental) public UserPoolResourceServerProps.Builder scopes(List<? extends ResourceServerScope> scopes)
UserPoolResourceServerOptions.getScopes()scopes - Oauth scopes.this@Stability(value=Experimental) public UserPoolResourceServerProps.Builder userPoolResourceServerName(String userPoolResourceServerName)
UserPoolResourceServerOptions.getUserPoolResourceServerName()userPoolResourceServerName - A friendly name for the resource server.this@Stability(value=Experimental) public UserPoolResourceServerProps build()
build in interface software.amazon.jsii.Builder<UserPoolResourceServerProps>UserPoolResourceServerPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.