public Integer getCapacity() {
        return this.capacity;
    }
<p>
The capacity of the structured message list definition when the list type is <code>FIXED_CAPACITY</code> or
<code>DYNAMIC_BOUNDED_CAPACITY</code>.
</p>

@return The capacity of the structured message list definition when the list type is <code>FIXED_CAPACITY</code>
        or <code>DYNAMIC_BOUNDED_CAPACITY</code>.
aws-java-sdk-iotfleetwise/src/main/java/com/amazonaws/services/iotfleetwise/model/StructuredMessageListDefinition.java