public KnownGender withType(String type) {
        setType(type);
        return this;
    }
<p>
A string value of the KnownGender info about the Celebrity.
</p>

@param type
       A string value of the KnownGender info about the Celebrity.
@return Returns a reference to this object so that method calls can be chained together.
@see KnownGenderType
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/KnownGender.java