public static final class CfnUserPoolResourceServerProps.Builder
extends java.lang.Object
CfnUserPoolResourceServerProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserPoolResourceServerProps |
build()
Builds the configured instance.
|
CfnUserPoolResourceServerProps.Builder |
identifier(java.lang.String identifier)
Sets the value of
CfnUserPoolResourceServerProps.getIdentifier() |
CfnUserPoolResourceServerProps.Builder |
name(java.lang.String name)
Sets the value of
CfnUserPoolResourceServerProps.getName() |
CfnUserPoolResourceServerProps.Builder |
scopes(IResolvable scopes)
Sets the value of
CfnUserPoolResourceServerProps.getScopes() |
CfnUserPoolResourceServerProps.Builder |
scopes(java.util.List<? extends java.lang.Object> scopes)
Sets the value of
CfnUserPoolResourceServerProps.getScopes() |
CfnUserPoolResourceServerProps.Builder |
userPoolId(java.lang.String userPoolId)
Sets the value of
CfnUserPoolResourceServerProps.getUserPoolId() |
public CfnUserPoolResourceServerProps.Builder identifier(java.lang.String identifier)
CfnUserPoolResourceServerProps.getIdentifier()
identifier
- A unique resource server identifier for the resource server. This parameter is required.
This could be an HTTPS endpoint where the resource server is located. For example: https://my-weather-api.example.com
.this
public CfnUserPoolResourceServerProps.Builder name(java.lang.String name)
CfnUserPoolResourceServerProps.getName()
name
- A friendly name for the resource server. This parameter is required.this
public CfnUserPoolResourceServerProps.Builder userPoolId(java.lang.String userPoolId)
CfnUserPoolResourceServerProps.getUserPoolId()
userPoolId
- The user pool ID for the user pool. This parameter is required.this
public CfnUserPoolResourceServerProps.Builder scopes(IResolvable scopes)
CfnUserPoolResourceServerProps.getScopes()
scopes
- A list of scopes.
Each scope is a map with keys ScopeName
and ScopeDescription
.this
public CfnUserPoolResourceServerProps.Builder scopes(java.util.List<? extends java.lang.Object> scopes)
CfnUserPoolResourceServerProps.getScopes()
scopes
- A list of scopes.
Each scope is a map with keys ScopeName
and ScopeDescription
.this
public CfnUserPoolResourceServerProps build()
CfnUserPoolResourceServerProps
java.lang.NullPointerException
- if any required attribute was not provided