public static interface CreateResourceServerRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<CreateResourceServerRequest.Builder,CreateResourceServerRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateResourceServerRequest.Builder |
identifier(String identifier)
A unique resource server identifier for the resource server.
|
CreateResourceServerRequest.Builder |
name(String name)
A friendly name for the resource server.
|
CreateResourceServerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateResourceServerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateResourceServerRequest.Builder |
scopes(Collection<ResourceServerScopeType> scopes)
A list of scopes.
|
CreateResourceServerRequest.Builder |
scopes(Consumer<ResourceServerScopeType.Builder>... scopes)
A list of scopes.
|
CreateResourceServerRequest.Builder |
scopes(ResourceServerScopeType... scopes)
A list of scopes.
|
CreateResourceServerRequest.Builder |
userPoolId(String userPoolId)
The user pool ID for the user pool.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateResourceServerRequest.Builder userPoolId(String userPoolId)
The user pool ID for the user pool.
userPoolId - The user pool ID for the user pool.CreateResourceServerRequest.Builder identifier(String identifier)
A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the
resource server is located, such as https://my-weather-api.example.com.
identifier - A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the
resource server is located, such as https://my-weather-api.example.com.CreateResourceServerRequest.Builder name(String name)
A friendly name for the resource server.
name - A friendly name for the resource server.CreateResourceServerRequest.Builder scopes(Collection<ResourceServerScopeType> scopes)
A list of scopes. Each scope is a key-value map with the keys name and description.
scopes - A list of scopes. Each scope is a key-value map with the keys name and
description.CreateResourceServerRequest.Builder scopes(ResourceServerScopeType... scopes)
A list of scopes. Each scope is a key-value map with the keys name and description.
scopes - A list of scopes. Each scope is a key-value map with the keys name and
description.CreateResourceServerRequest.Builder scopes(Consumer<ResourceServerScopeType.Builder>... scopes)
A list of scopes. Each scope is a key-value map with the keys name and description.
ResourceServerScopeType.Builder
avoiding the need to create one manually via
ResourceServerScopeType.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #scopes(List.
scopes - a consumer that will call methods on
ResourceServerScopeType.Builder#scopes(java.util.Collection) CreateResourceServerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateResourceServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.