Class StandardImageTextCaptionBlock
- java.lang.Object
-
- software.amazon.spapi.models.apluscontent.v2020_11_01.StandardImageTextCaptionBlock
-
public class StandardImageTextCaptionBlock extends java.lang.Object
The A+ Content standard image and text block, with a related caption. The caption may not display on all devices.
-
-
Constructor Summary
Constructors Constructor Description StandardImageTextCaptionBlock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardImageTextCaptionBlock
block(StandardImageTextBlock block)
StandardImageTextCaptionBlock
caption(TextComponent caption)
boolean
equals(java.lang.Object o)
StandardImageTextBlock
getBlock()
Get blockTextComponent
getCaption()
Get captionint
hashCode()
void
setBlock(StandardImageTextBlock block)
void
setCaption(TextComponent caption)
java.lang.String
toString()
-
-
-
Method Detail
-
block
public StandardImageTextCaptionBlock block(StandardImageTextBlock block)
-
getBlock
public StandardImageTextBlock getBlock()
Get block- Returns:
- block
-
setBlock
public void setBlock(StandardImageTextBlock block)
-
caption
public StandardImageTextCaptionBlock caption(TextComponent caption)
-
getCaption
public TextComponent getCaption()
Get caption- Returns:
- caption
-
setCaption
public void setCaption(TextComponent caption)
-
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
-
-