Interface CreateResourceServerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityProviderRequest.Builder
,CopyableBuilder<CreateResourceServerRequest.Builder,
,CreateResourceServerRequest> SdkBuilder<CreateResourceServerRequest.Builder,
,CreateResourceServerRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateResourceServerRequest
public static interface CreateResourceServerRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<CreateResourceServerRequest.Builder,CreateResourceServerRequest>
-
Method Summary
Modifier and TypeMethodDescriptionidentifier
(String identifier) A unique resource server identifier for the resource server.A friendly name for the resource server.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scopes
(Collection<ResourceServerScopeType> scopes) A list of scopes.scopes
(Consumer<ResourceServerScopeType.Builder>... scopes) A list of scopes.scopes
(ResourceServerScopeType... scopes) A list of scopes.userPoolId
(String userPoolId) The user pool ID for the user pool.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
userPoolId
The user pool ID for the user pool.
- Parameters:
userPoolId
- The user pool ID for the user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
identifier
- A unique resource server identifier for the resource server. This could be an HTTPS endpoint where the resource server is located, such ashttps://my-weather-api.example.com
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A friendly name for the resource server.
- Parameters:
name
- A friendly name for the resource server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
A list of scopes. Each scope is a key-value map with the keys
name
anddescription
.- Parameters:
scopes
- A list of scopes. Each scope is a key-value map with the keysname
anddescription
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
A list of scopes. Each scope is a key-value map with the keys
name
anddescription
.- Parameters:
scopes
- A list of scopes. Each scope is a key-value map with the keysname
anddescription
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
A list of scopes. Each scope is a key-value map with the keys
This is a convenience method that creates an instance of thename
anddescription
.ResourceServerScopeType.Builder
avoiding the need to create one manually viaResourceServerScopeType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscopes(List<ResourceServerScopeType>)
.- Parameters:
scopes
- a consumer that will call methods onResourceServerScopeType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateResourceServerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateResourceServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-