Interface CreateTermsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<CreateTermsRequest.Builder,CreateTermsRequest>,SdkBuilder<CreateTermsRequest.Builder,CreateTermsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTermsRequest
@Mutable @NotThreadSafe public static interface CreateTermsRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<CreateTermsRequest.Builder,CreateTermsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateTermsRequest.BuilderclientId(String clientId)The ID of the app client where you want to create terms documents.CreateTermsRequest.Builderenforcement(String enforcement)This parameter is reserved for future use and currently accepts only one value.CreateTermsRequest.Builderenforcement(TermsEnforcementType enforcement)This parameter is reserved for future use and currently accepts only one value.CreateTermsRequest.Builderlinks(Map<String,String> links)A map of URLs to languages.CreateTermsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTermsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTermsRequest.BuildertermsName(String termsName)A friendly name for the document that you want to create in the current request.CreateTermsRequest.BuildertermsSource(String termsSource)This parameter is reserved for future use and currently accepts only one value.CreateTermsRequest.BuildertermsSource(TermsSourceType termsSource)This parameter is reserved for future use and currently accepts only one value.CreateTermsRequest.BuilderuserPoolId(String userPoolId)The ID of the user pool where you want to create terms documents.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
userPoolId
CreateTermsRequest.Builder userPoolId(String userPoolId)
The ID of the user pool where you want to create terms documents.
- Parameters:
userPoolId- The ID of the user pool where you want to create terms documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
CreateTermsRequest.Builder clientId(String clientId)
The ID of the app client where you want to create terms documents. Must be an app client in the requested user pool.
- Parameters:
clientId- The ID of the app client where you want to create terms documents. Must be an app client in the requested user pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termsName
CreateTermsRequest.Builder termsName(String termsName)
A friendly name for the document that you want to create in the current request. Must begin with
terms-of-useorprivacy-policyas identification of the document type. Provide URLs for bothterms-of-useandprivacy-policyin separate requests.- Parameters:
termsName- A friendly name for the document that you want to create in the current request. Must begin withterms-of-useorprivacy-policyas identification of the document type. Provide URLs for bothterms-of-useandprivacy-policyin separate requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termsSource
CreateTermsRequest.Builder termsSource(String termsSource)
This parameter is reserved for future use and currently accepts only one value.
- Parameters:
termsSource- This parameter is reserved for future use and currently accepts only one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TermsSourceType,TermsSourceType
-
termsSource
CreateTermsRequest.Builder termsSource(TermsSourceType termsSource)
This parameter is reserved for future use and currently accepts only one value.
- Parameters:
termsSource- This parameter is reserved for future use and currently accepts only one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TermsSourceType,TermsSourceType
-
enforcement
CreateTermsRequest.Builder enforcement(String enforcement)
This parameter is reserved for future use and currently accepts only one value.
- Parameters:
enforcement- This parameter is reserved for future use and currently accepts only one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TermsEnforcementType,TermsEnforcementType
-
enforcement
CreateTermsRequest.Builder enforcement(TermsEnforcementType enforcement)
This parameter is reserved for future use and currently accepts only one value.
- Parameters:
enforcement- This parameter is reserved for future use and currently accepts only one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TermsEnforcementType,TermsEnforcementType
-
links
CreateTermsRequest.Builder links(Map<String,String> links)
A map of URLs to languages. For each localized language that will view the requested
TermsName, assign a URL. A selection ofcognito:defaultdisplays for all languages that don't have a language-specific URL.For example,
"cognito:default": "https://terms.example.com", "cognito:spanish": "https://terms.example.com/es".- Parameters:
links- A map of URLs to languages. For each localized language that will view the requestedTermsName, assign a URL. A selection ofcognito:defaultdisplays for all languages that don't have a language-specific URL.For example,
"cognito:default": "https://terms.example.com", "cognito:spanish": "https://terms.example.com/es".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTermsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTermsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-