Class CfnUserPoolResourceServer.ResourceServerScopeTypeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolResourceServer.ResourceServerScopeTypeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolResourceServer.ResourceServerScopeTypeProperty>
- Enclosing interface:
CfnUserPoolResourceServer.ResourceServerScopeTypeProperty
@Stability(Stable)
public static final class CfnUserPoolResourceServer.ResourceServerScopeTypeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolResourceServer.ResourceServerScopeTypeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scopeDescription(String scopeDescription) Sets the value ofCfnUserPoolResourceServer.ResourceServerScopeTypeProperty.getScopeName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scopeDescription
@Stability(Stable) public CfnUserPoolResourceServer.ResourceServerScopeTypeProperty.Builder scopeDescription(String scopeDescription) - Parameters:
scopeDescription- A friendly description of a custom scope. This parameter is required.- Returns:
this
-
scopeName
@Stability(Stable) public CfnUserPoolResourceServer.ResourceServerScopeTypeProperty.Builder scopeName(String scopeName) Sets the value ofCfnUserPoolResourceServer.ResourceServerScopeTypeProperty.getScopeName()- Parameters:
scopeName- The name of the scope. This parameter is required. Amazon Cognito renders custom scopes in the formatresourceServerIdentifier/ScopeName. For example, if this parameter isexampleScopein the resource server with the identifierexampleResourceServer, you request and receive the scopeexampleResourceServer/exampleScope.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolResourceServer.ResourceServerScopeTypeProperty>- Returns:
- a new instance of
CfnUserPoolResourceServer.ResourceServerScopeTypeProperty - Throws:
NullPointerException- if any required attribute was not provided
-