Interface UpdateResourceServerRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<UpdateResourceServerRequest.Builder,,UpdateResourceServerRequest> SdkBuilder<UpdateResourceServerRequest.Builder,,UpdateResourceServerRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateResourceServerRequest
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) A unique resource server identifier for the resource server.The name of 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) The scope values to be set for the resource server.scopes(Consumer<ResourceServerScopeType.Builder>... scopes) The scope values to be set for the resource server.scopes(ResourceServerScopeType... scopes) The scope values to be set for the resource server.userPoolId(String userPoolId) The user pool ID for the user pool.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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. The identifier can be an API friendly name like
solar-system-data. You can also set an API URL likehttps://solar-system-data-api.example.comas your identifier.Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.- Parameters:
identifier- A unique resource server identifier for the resource server. The identifier can be an API friendly name likesolar-system-data. You can also set an API URL likehttps://solar-system-data-api.example.comas your identifier.Amazon Cognito represents scopes in the access token in the format
$resource-server-identifier/$scope. Longer scope-identifier strings increase the size of your access tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the resource server.
- Parameters:
name- The name of the resource server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The scope values to be set for the resource server.
- Parameters:
scopes- The scope values to be set for the resource server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The scope values to be set for the resource server.
- Parameters:
scopes- The scope values to be set for the resource server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The scope values to be set for the resource server.
This is a convenience method that creates an instance of theResourceServerScopeType.Builderavoiding the need to create one manually viaResourceServerScopeType.builder().When the
Consumercompletes,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
UpdateResourceServerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateResourceServerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-