public GetComponentTypeResult withIsSingleton(Boolean isSingleton) {
        setIsSingleton(isSingleton);
        return this;
    }
<p>
A Boolean value that specifies whether an entity can have more than one component of this type.
</p>

@param isSingleton
       A Boolean value that specifies whether an entity can have more than one component of this type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iottwinmaker/src/main/java/com/amazonaws/services/iottwinmaker/model/GetComponentTypeResult.java