public ListInstanceProfilesForRoleResult withInstanceProfiles(java.util.Collection<InstanceProfile> instanceProfiles) {
        setInstanceProfiles(instanceProfiles);
        return this;
    }
<p>
A list of instance profiles.
</p>

@param instanceProfiles
       A list of instance profiles.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ListInstanceProfilesForRoleResult.java