public static interface CreateResourceServerRequest.Builder extends CognitoIdentityProviderRequest.Builder, CopyableBuilder<CreateResourceServerRequest.Builder,CreateResourceServerRequest>
buildrequestOverrideConfigcopyapply, 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. 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateResourceServerRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.