public ListProfilesResult withProfiles(java.util.Collection<ListedProfile> profiles) {
        setProfiles(profiles);
        return this;
    }
<p>
Returns an array, where each item contains the details of a profile.
</p>

@param profiles
       Returns an array, where each item contains the details of a profile.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/model/ListProfilesResult.java