Class StandardTextBlock
- java.lang.Object
-
- software.amazon.spapi.models.apluscontent.v2020_11_01.StandardTextBlock
-
public class StandardTextBlock extends java.lang.Object
The A+ Content standard text box block, comprised of a paragraph with a headline.
-
-
Constructor Summary
Constructors Constructor Description StandardTextBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardTextBlock
body(ParagraphComponent body)
boolean
equals(java.lang.Object o)
ParagraphComponent
getBody()
Get bodyTextComponent
getHeadline()
Get headlineint
hashCode()
StandardTextBlock
headline(TextComponent headline)
void
setBody(ParagraphComponent body)
void
setHeadline(TextComponent headline)
java.lang.String
toString()
-
-
-
Method Detail
-
headline
public StandardTextBlock headline(TextComponent headline)
-
getHeadline
public TextComponent getHeadline()
Get headline- Returns:
- headline
-
setHeadline
public void setHeadline(TextComponent headline)
-
body
public StandardTextBlock body(ParagraphComponent body)
-
getBody
public ParagraphComponent getBody()
Get body- Returns:
- body
-
setBody
public void setBody(ParagraphComponent body)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-