Interface TermsType.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TermsType.Builder,TermsType>,SdkBuilder<TermsType.Builder,TermsType>,SdkPojo
- Enclosing class:
- TermsType
@Mutable @NotThreadSafe public static interface TermsType.Builder extends SdkPojo, CopyableBuilder<TermsType.Builder,TermsType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TermsType.BuilderclientId(String clientId)The ID of the app client that the terms documents are assigned to.TermsType.BuildercreationDate(Instant creationDate)The date and time when the item was created.TermsType.Builderenforcement(String enforcement)This parameter is reserved for future use and currently accepts one value.TermsType.Builderenforcement(TermsEnforcementType enforcement)This parameter is reserved for future use and currently accepts one value.TermsType.BuilderlastModifiedDate(Instant lastModifiedDate)The date and time when the item was modified.TermsType.Builderlinks(Map<String,String> links)A map of URLs to languages.TermsType.BuildertermsId(String termsId)The ID of the terms documents.TermsType.BuildertermsName(String termsName)The type and friendly name of the terms documents.TermsType.BuildertermsSource(String termsSource)This parameter is reserved for future use and currently accepts one value.TermsType.BuildertermsSource(TermsSourceType termsSource)This parameter is reserved for future use and currently accepts one value.TermsType.BuilderuserPoolId(String userPoolId)The ID of the user pool that contains the terms documents.-
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
TermsType.Builder termsId(String 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
TermsType.Builder userPoolId(String 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
TermsType.Builder clientId(String 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
TermsType.Builder termsName(String 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
TermsType.Builder termsSource(String 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:
TermsSourceType,TermsSourceType
-
termsSource
TermsType.Builder termsSource(TermsSourceType 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:
TermsSourceType,TermsSourceType
-
enforcement
TermsType.Builder enforcement(String 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:
TermsEnforcementType,TermsEnforcementType
-
enforcement
TermsType.Builder enforcement(TermsEnforcementType 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:
TermsEnforcementType,TermsEnforcementType
-
links
TermsType.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.
-
creationDate
TermsType.Builder creationDate(Instant 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
TermsType.Builder lastModifiedDate(Instant 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.
-
-