Interface TextPartValue.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TextPartValue.Builder,TextPartValue>,SdkBuilder<TextPartValue.Builder,TextPartValue>,SdkPojo
- Enclosing class:
- TextPartValue
public static interface TextPartValue.Builder extends SdkPojo, CopyableBuilder<TextPartValue.Builder,TextPartValue>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TextPartValue.BuilderdisplayText(String displayText)A short single line description of the link.TextPartValue.BuildertextByLocale(Map<LocaleCode,String> textByLocale)A map of locales to the text in that locale.TextPartValue.BuildertextByLocaleWithStrings(Map<String,String> textByLocale)A map of locales to the text in that locale.TextPartValue.Buildertype(String type)The type of text part.TextPartValue.Buildertype(TextPartType type)The type of text part.TextPartValue.Builderurl(String url)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 Detail
-
type
TextPartValue.Builder type(String 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:
TextPartType,TextPartType
-
type
TextPartValue.Builder type(TextPartType 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:
TextPartType,TextPartType
-
displayText
TextPartValue.Builder displayText(String 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
TextPartValue.Builder textByLocaleWithStrings(Map<String,String> 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.
-
textByLocale
TextPartValue.Builder textByLocale(Map<LocaleCode,String> 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
TextPartValue.Builder url(String url)
The URL itself.
- Parameters:
url- The URL itself.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-