public void setInstanceProfiles(java.util.Collection<InstanceProfile> instanceProfiles) {
        if (instanceProfiles == null) {
            this.instanceProfiles = null;
            return;
        }

        this.instanceProfiles = new com.amazonaws.internal.SdkInternalList<InstanceProfile>(instanceProfiles);
    }
<p>
A list of instance profiles.
</p>

@param instanceProfiles
       A list of instance profiles.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ListInstanceProfilesForRoleResult.java