Class StandardTextPairBlock
- java.lang.Object
-
- software.amazon.spapi.models.apluscontent.v2020_11_01.StandardTextPairBlock
-
public class StandardTextPairBlock extends java.lang.Object
The A+ Content standard label and description block, comprised of a pair of text components.
-
-
Constructor Summary
Constructors Constructor Description StandardTextPairBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardTextPairBlock
description(TextComponent description)
boolean
equals(java.lang.Object o)
TextComponent
getDescription()
Get descriptionTextComponent
getLabel()
Get labelint
hashCode()
StandardTextPairBlock
label(TextComponent label)
void
setDescription(TextComponent description)
void
setLabel(TextComponent label)
java.lang.String
toString()
-
-
-
Method Detail
-
label
public StandardTextPairBlock label(TextComponent label)
-
getLabel
public TextComponent getLabel()
Get label- Returns:
- label
-
setLabel
public void setLabel(TextComponent label)
-
description
public StandardTextPairBlock description(TextComponent description)
-
getDescription
public TextComponent getDescription()
Get description- Returns:
- description
-
setDescription
public void setDescription(TextComponent description)
-
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
-
-