Interface UpdateTermsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<UpdateTermsRequest.Builder,UpdateTermsRequest>,SdkBuilder<UpdateTermsRequest.Builder,UpdateTermsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateTermsRequest
@Mutable @NotThreadSafe public static interface UpdateTermsRequest.Builder extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<UpdateTermsRequest.Builder,UpdateTermsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateTermsRequest.Builderenforcement(String enforcement)This parameter is reserved for future use and currently accepts only one value.UpdateTermsRequest.Builderenforcement(TermsEnforcementType enforcement)This parameter is reserved for future use and currently accepts only one value.UpdateTermsRequest.Builderlinks(Map<String,String> links)A map of URLs to languages.UpdateTermsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateTermsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateTermsRequest.BuildertermsId(String termsId)The ID of the terms document that you want to update.UpdateTermsRequest.BuildertermsName(String termsName)The new name that you want to apply to the requested terms documents.UpdateTermsRequest.BuildertermsSource(String termsSource)This parameter is reserved for future use and currently accepts only one value.UpdateTermsRequest.BuildertermsSource(TermsSourceType termsSource)This parameter is reserved for future use and currently accepts only one value.UpdateTermsRequest.BuilderuserPoolId(String userPoolId)The ID of the user pool that contains the terms that you want to update.-
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
-
termsId
UpdateTermsRequest.Builder termsId(String termsId)
The ID of the terms document that you want to update.
- Parameters:
termsId- The ID of the terms document that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolId
UpdateTermsRequest.Builder userPoolId(String userPoolId)
The ID of the user pool that contains the terms that you want to update.
- Parameters:
userPoolId- The ID of the user pool that contains the terms that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termsName
UpdateTermsRequest.Builder termsName(String termsName)
The new name that you want to apply to the requested terms documents.
- Parameters:
termsName- The new name that you want to apply to the requested terms documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termsSource
UpdateTermsRequest.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
UpdateTermsRequest.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
UpdateTermsRequest.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
UpdateTermsRequest.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
UpdateTermsRequest.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
UpdateTermsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateTermsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-