Class StandardTextModule
- java.lang.Object
-
- software.amazon.spapi.models.apluscontent.v2020_11_01.StandardTextModule
-
public class StandardTextModule extends java.lang.ObjectA standard headline and body text.
-
-
Constructor Summary
Constructors Constructor Description StandardTextModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardTextModulebody(ParagraphComponent body)booleanequals(java.lang.Object o)ParagraphComponentgetBody()Get bodyTextComponentgetHeadline()Get headlineinthashCode()StandardTextModuleheadline(TextComponent headline)voidsetBody(ParagraphComponent body)voidsetHeadline(TextComponent headline)java.lang.StringtoString()
-
-
-
Method Detail
-
headline
public StandardTextModule headline(TextComponent headline)
-
getHeadline
public TextComponent getHeadline()
Get headline- Returns:
- headline
-
setHeadline
public void setHeadline(TextComponent headline)
-
body
public StandardTextModule 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-