public static interface CreateResourceServerRequest.Builder extends CognitoIdentityProviderRequest.Builder, CopyableBuilder<CreateResourceServerRequest.Builder,CreateResourceServerRequest>
build
overrideConfiguration
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. For example, 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. For example, 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 map, where the keys are name
and description
.
scopes
- A list of scopes. Each scope is map, where the keys are name
and description
.CreateResourceServerRequest.Builder scopes(ResourceServerScopeType... scopes)
A list of scopes. Each scope is map, where the keys are name
and description
.
scopes
- A list of scopes. Each scope is map, where the keys are name
and description
.CreateResourceServerRequest.Builder scopes(Consumer<ResourceServerScopeType.Builder>... scopes)
A list of scopes. Each scope is map, where the keys are 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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateResourceServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.