Interface TermsType.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TermsType.Builder,,TermsType> SdkBuilder<TermsType.Builder,,TermsType> SdkPojo
- Enclosing class:
- TermsType
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app client that the terms documents are assigned to.creationDate(Instant creationDate) The date and time when the item was created.enforcement(String enforcement) This parameter is reserved for future use and currently accepts one value.enforcement(TermsEnforcementType enforcement) This parameter is reserved for future use and currently accepts one value.lastModifiedDate(Instant lastModifiedDate) The date and time when the item was modified.A map of URLs to languages.The ID of the terms documents.The type and friendly name of the terms documents.termsSource(String termsSource) This parameter is reserved for future use and currently accepts one value.termsSource(TermsSourceType termsSource) This parameter is reserved for future use and currently accepts one value.userPoolId(String userPoolId) The ID of the user pool that contains the terms documents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
termsId
The ID of the terms documents.
- Parameters:
termsId- The ID of the terms documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userPoolId
The ID of the user pool that contains the terms documents.
- Parameters:
userPoolId- The ID of the user pool that contains the terms documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
The ID of the app client that the terms documents are assigned to.
- Parameters:
clientId- The ID of the app client that the terms documents are assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termsName
The type and friendly name of the terms documents.
- Parameters:
termsName- The type and friendly name of the terms documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termsSource
This parameter is reserved for future use and currently accepts one value.
- Parameters:
termsSource- This parameter is reserved for future use and currently accepts one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
termsSource
This parameter is reserved for future use and currently accepts one value.
- Parameters:
termsSource- This parameter is reserved for future use and currently accepts one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enforcement
This parameter is reserved for future use and currently accepts one value.
- Parameters:
enforcement- This parameter is reserved for future use and currently accepts one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enforcement
This parameter is reserved for future use and currently accepts one value.
- Parameters:
enforcement- This parameter is reserved for future use and currently accepts one value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
creationDate
The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Dateobject.- Parameters:
creationDate- The date and time when the item was created. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a Java
Dateobject.- Parameters:
lastModifiedDate- The date and time when the item was modified. Amazon Cognito returns this timestamp in UNIX epoch time format. Your SDK might render the output in a human-readable format like ISO 8601 or a JavaDateobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-