public ListProfilesRequest withProfileType(String profileType) {
        setProfileType(profileType);
        return this;
    }
<p>
Indicates whether to list only <code>LOCAL</code> type profiles or only <code>PARTNER</code> type profiles. If
not supplied in the request, the command lists all types of profiles.
</p>

@param profileType
       Indicates whether to list only <code>LOCAL</code> type profiles or only <code>PARTNER</code> type
       profiles. If not supplied in the request, the command lists all types of profiles.
@return Returns a reference to this object so that method calls can be chained together.
@see ProfileType
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ListProfilesRequest.java