Interface TextPartValue.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TextPartValue.Builder,
,TextPartValue> SdkBuilder<TextPartValue.Builder,
,TextPartValue> SdkPojo
- Enclosing class:
TextPartValue
@Mutable
@NotThreadSafe
public static interface TextPartValue.Builder
extends SdkPojo, CopyableBuilder<TextPartValue.Builder,TextPartValue>
-
Method Summary
Modifier and TypeMethodDescriptiondisplayText
(String displayText) A short single line description of the link.textByLocale
(Map<LocaleCode, String> textByLocale) A map of locales to the text in that locale.textByLocaleWithStrings
(Map<String, String> textByLocale) A map of locales to the text in that locale.The type of text part.type
(TextPartType type) The type of text part.The URL itself.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 Details
-
type
The type of text part. Determines the usage of all other fields and whether or not they're required.
- Parameters:
type
- The type of text part. Determines the usage of all other fields and whether or not they're required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of text part. Determines the usage of all other fields and whether or not they're required.
- Parameters:
type
- The type of text part. Determines the usage of all other fields and whether or not they're required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayText
A short single line description of the link. Must be hyper-linked with the URL itself.
Used for text parts with the type
URL
.- Parameters:
displayText
- A short single line description of the link. Must be hyper-linked with the URL itself.Used for text parts with the type
URL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textByLocaleWithStrings
A map of locales to the text in that locale.
- Parameters:
textByLocale
- A map of locales to the text in that locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textByLocale
A map of locales to the text in that locale.
- Parameters:
textByLocale
- A map of locales to the text in that locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
url
The URL itself.
- Parameters:
url
- The URL itself.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-