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 description of the 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnUserPoolResourceServer.ResourceServerScopeTypeProperty>
- Returns:
- a new instance of
CfnUserPoolResourceServer.ResourceServerScopeTypeProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-