Class PlainTextItem
- java.lang.Object
-
- software.amazon.spapi.models.apluscontent.v2020_11_01.PlainTextItem
-
public class PlainTextItem extends java.lang.Object
Plain positional text that is used in collections of brief labels and descriptors.
-
-
Constructor Summary
Constructors Constructor Description PlainTextItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Integer
getPosition()
The rank or index of this text item within the collection.java.lang.String
getValue()
The actual plain text.int
hashCode()
PlainTextItem
position(java.lang.Integer position)
void
setPosition(java.lang.Integer position)
void
setValue(java.lang.String value)
java.lang.String
toString()
PlainTextItem
value(java.lang.String value)
-
-
-
Method Detail
-
position
public PlainTextItem position(java.lang.Integer position)
-
getPosition
public java.lang.Integer getPosition()
The rank or index of this text item within the collection. Different items cannot occupy the same position within a single collection. minimum: 1 maximum: 100- Returns:
- position
-
setPosition
public void setPosition(java.lang.Integer position)
-
value
public PlainTextItem value(java.lang.String value)
-
getValue
public java.lang.String getValue()
The actual plain text.- Returns:
- value
-
setValue
public void setValue(java.lang.String value)
-
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
-
-