Class ResourceServerScopeProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.ResourceServerScopeProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ResourceServerScopeProps>
- Enclosing interface:
ResourceServerScopeProps
@Stability(Stable)
public static final class ResourceServerScopeProps.Builder
extends Object
implements software.amazon.jsii.Builder<ResourceServerScopeProps>
A builder for
ResourceServerScopeProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.scopeDescription
(String scopeDescription) Sets the value ofResourceServerScopeProps.getScopeDescription()
Sets the value ofResourceServerScopeProps.getScopeName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scopeDescription
@Stability(Stable) public ResourceServerScopeProps.Builder scopeDescription(String scopeDescription) Sets the value ofResourceServerScopeProps.getScopeDescription()
- Parameters:
scopeDescription
- A description of the scope. This parameter is required.- Returns:
this
-
scopeName
Sets the value ofResourceServerScopeProps.getScopeName()
- Parameters:
scopeName
- The name of the scope. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ResourceServerScopeProps>
- Returns:
- a new instance of
ResourceServerScopeProps
- Throws:
NullPointerException
- if any required attribute was not provided
-