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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateResourceServerRequest.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
.
List.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #scopes(List)
.scopes
- a consumer that will call methods on List.Builder
#scopes(List)
CreateResourceServerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateResourceServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2022. All rights reserved.