Class CfnTermsProps.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnTermsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTermsProps>
- Enclosing interface:
CfnTermsProps
@Stability(Stable)
public static final class CfnTermsProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTermsProps>
A builder for
CfnTermsProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTermsProps.getClientId()enforcement(String enforcement) Sets the value ofCfnTermsProps.getEnforcement()Sets the value ofCfnTermsProps.getLinks()links(IResolvable links) Sets the value ofCfnTermsProps.getLinks()Sets the value ofCfnTermsProps.getTermsName()termsSource(String termsSource) Sets the value ofCfnTermsProps.getTermsSource()userPoolId(String userPoolId) Sets the value ofCfnTermsProps.getUserPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enforcement
Sets the value ofCfnTermsProps.getEnforcement()- Parameters:
enforcement- the value to be set. This parameter is required.- Returns:
this
-
links
Sets the value ofCfnTermsProps.getLinks()- Parameters:
links- the value to be set. This parameter is required.- Returns:
this
-
links
Sets the value ofCfnTermsProps.getLinks()- Parameters:
links- the value to be set. This parameter is required.- Returns:
this
-
termsName
Sets the value ofCfnTermsProps.getTermsName()- Parameters:
termsName- the value to be set. This parameter is required.- Returns:
this
-
termsSource
Sets the value ofCfnTermsProps.getTermsSource()- Parameters:
termsSource- the value to be set. This parameter is required.- Returns:
this
-
userPoolId
Sets the value ofCfnTermsProps.getUserPoolId()- Parameters:
userPoolId- the value to be set. This parameter is required.- Returns:
this
-
clientId
Sets the value ofCfnTermsProps.getClientId()- Parameters:
clientId- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTermsProps>- Returns:
- a new instance of
CfnTermsProps - Throws:
NullPointerException- if any required attribute was not provided
-