public SubSlotTypeComposition withSlotTypeId(String slotTypeId) {
        setSlotTypeId(slotTypeId);
        return this;
    }
<p>
The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique
slotTypeId of a custom slot type.
</p>

@param slotTypeId
       The unique identifier assigned to a slot type. This refers to either a built-in slot type or the unique
       slotTypeId of a custom slot type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/SubSlotTypeComposition.java